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:
commit
058bad4c28
@ -321,7 +321,6 @@ class MainConfiguration implements ConfigurationInterface
|
|||||||
),
|
),
|
||||||
'my_entity_provider' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username')),
|
'my_entity_provider' => array('entity' => array('class' => 'SecurityBundle:User', 'property' => 'username')),
|
||||||
))
|
))
|
||||||
->disallowNewKeysInSubsequentConfigs()
|
|
||||||
->isRequired()
|
->isRequired()
|
||||||
->requiresAtLeastOneElement()
|
->requiresAtLeastOneElement()
|
||||||
->useAttributeAsKey('name')
|
->useAttributeAsKey('name')
|
||||||
|
Reference in New Issue
Block a user