[Security] fixed in_memory provider example

This commit is contained in:
Arnaud Le Blanc 2012-07-06 11:40:37 +02:00
parent 6b5be0b971
commit 8997853dbd

View File

@ -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'))