[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(
|
->example(array(
|
||||||
'memory' => array(
|
'memory' => array(
|
||||||
'name' => 'memory',
|
'name' => 'memory',
|
||||||
'users' => array(
|
'memory' => array(
|
||||||
'foo' => array('password' => 'foo', 'roles' => 'ROLE_USER'),
|
'users' => array(
|
||||||
'bar' => array('password' => 'bar', 'roles' => '[ROLE_USER, ROLE_ADMIN]')
|
'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'))
|
'entity' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username'))
|
||||||
|
Reference in New Issue
Block a user