bug #15895 [Security] Allow user providers to be defined in many files (lyrixx)

This PR was merged into the 2.3 branch.

Discussion
----------

[Security] Allow user providers to be defined in many files

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15894
| License       | MIT
| Doc PR        | -

Commits
-------

9165191 [Security] Allow user providers to be defined in many files
This commit is contained in:
Fabien Potencier 2015-09-26 09:28:39 +02:00
commit 058bad4c28
1 changed files with 0 additions and 1 deletions

View File

@ -321,7 +321,6 @@ class MainConfiguration implements ConfigurationInterface
),
'my_entity_provider' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username')),
))
->disallowNewKeysInSubsequentConfigs()
->isRequired()
->requiresAtLeastOneElement()
->useAttributeAsKey('name')