Skip to content

Commit e0d46d0

Browse files
author
Johann Saunier
committed
Merge pull request #50 from denniscoorn/fix/amqp-configuration
[Fix] AMQP_Connection doesn't accept key 'username' as configuration
2 parents 6bf0712 + b5e8efe commit e0d46d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ protected function addAmqpNode()
180180
->isRequired()
181181
->cannotBeEmpty()
182182
->end()
183-
->scalarNode('username')
183+
->scalarNode('login')
184184
->isRequired()
185185
->cannotBeEmpty()
186186
->end()

Resources/docs/Pusher.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ gos_web_socket:
8787
amqp:
8888
host: 127.0.0.1
8989
port: 5672
90-
username: guest
90+
login: guest
9191
password: guest
9292
vhost: '/'
9393
```
@@ -158,7 +158,7 @@ Will give an `Gos\Bundle\WebSocketBundle\Event\PushHandlerEvent` where can acces
158158
amqp:
159159
host: 127.0.0.1
160160
port: 5672
161-
username: guest
161+
login: guest
162162
password: guest
163163
```
164164

0 commit comments

Comments
 (0)