merged branch arnaud-lb/memory-example-fix (PR #4769)
Commits
-------
8997853
[Security] fixed in_memory provider example
Discussion
----------
[Security] fixed in_memory provider example
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
This fixes the in_memory provider configuration example shown by config:dump-reference
---------------------------------------------------------------------------
by stof at 2012-07-06T11:07:50Z
👍
This commit is contained in:
commit
b8f99ee19e
@ -303,9 +303,11 @@ class MainConfiguration implements ConfigurationInterface
|
||||
->example(array(
|
||||
'memory' => array(
|
||||
'name' => 'memory',
|
||||
'users' => array(
|
||||
'foo' => array('password' => 'foo', 'roles' => 'ROLE_USER'),
|
||||
'bar' => array('password' => 'bar', 'roles' => '[ROLE_USER, ROLE_ADMIN]')
|
||||
'memory' => array(
|
||||
'users' => array(
|
||||
'foo' => array('password' => 'foo', 'roles' => 'ROLE_USER'),
|
||||
'bar' => array('password' => 'bar', 'roles' => '[ROLE_USER, ROLE_ADMIN]')
|
||||
),
|
||||
)
|
||||
),
|
||||
'entity' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username'))
|
||||
|
Reference in New Issue
Block a user