[Security] fixed in_memory provider example
This commit is contained in:
parent
6b5be0b971
commit
8997853dbd
@ -303,9 +303,11 @@ class MainConfiguration implements ConfigurationInterface
|
||||
->example(array(
|
||||
'memory' => array(
|
||||
'name' => 'memory',
|
||||
'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