[SecurityBundle] Don't normalize keys of in-memory users
This commit is contained in:
parent
0e92e0a7ba
commit
8d03332726
|
@ -113,6 +113,8 @@ SecurityBundle
|
||||||
* `UserPasswordEncoderCommand::getContainer()` is deprecated, and this class won't
|
* `UserPasswordEncoderCommand::getContainer()` is deprecated, and this class won't
|
||||||
extend `ContainerAwareCommand` nor implement `ContainerAwareInterface` anymore in 4.0.
|
extend `ContainerAwareCommand` nor implement `ContainerAwareInterface` anymore in 4.0.
|
||||||
|
|
||||||
|
* [BC BREAK] Keys of the `users` node for `in_memory` user provider are no longer normalized.
|
||||||
|
|
||||||
Serializer
|
Serializer
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ CHANGELOG
|
||||||
* Deprecated `UserPasswordEncoderCommand::getContainer()` and relying on the
|
* Deprecated `UserPasswordEncoderCommand::getContainer()` and relying on the
|
||||||
`ContainerAwareInterface` interface for this command.
|
`ContainerAwareInterface` interface for this command.
|
||||||
* Deprecated the `FirewallMap::$map` and `$container` properties.
|
* Deprecated the `FirewallMap::$map` and `$container` properties.
|
||||||
|
* [BC BREAK] Keys of the `users` node for `in_memory` user provider are no longer normalized.
|
||||||
|
|
||||||
3.2.0
|
3.2.0
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -52,6 +52,7 @@ class InMemoryFactory implements UserProviderFactoryInterface
|
||||||
->children()
|
->children()
|
||||||
->arrayNode('users')
|
->arrayNode('users')
|
||||||
->useAttributeAsKey('name')
|
->useAttributeAsKey('name')
|
||||||
|
->normalizeKeys(false)
|
||||||
->prototype('array')
|
->prototype('array')
|
||||||
->children()
|
->children()
|
||||||
->scalarNode('password')->defaultValue(uniqid('', true))->end()
|
->scalarNode('password')->defaultValue(uniqid('', true))->end()
|
||||||
|
|
Reference in New Issue