Skip to content

Commit

Permalink
merged branch arnaud-lb/memory-example-fix (PR #4769)
Browse files Browse the repository at this point in the history
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

:+1:
  • Loading branch information
fabpot committed Jul 8, 2012
2 parents 443d704 + 8997853 commit b8f99ee
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -303,9 +303,11 @@ private function addProvidersSection(ArrayNodeDefinition $rootNode)
->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'))
Expand Down

0 comments on commit b8f99ee

Please sign in to comment.