[SecurityBundle] Changed encoder configuration example to bcrypt
This commit is contained in:
parent
0572866184
commit
a55058f097
@ -407,11 +407,10 @@ class MainConfiguration implements ConfigurationInterface
|
|||||||
->children()
|
->children()
|
||||||
->arrayNode('encoders')
|
->arrayNode('encoders')
|
||||||
->example(array(
|
->example(array(
|
||||||
'Acme\DemoBundle\Entity\User1' => 'sha512',
|
'AppBundle\Entity\User1' => 'bcrypt',
|
||||||
'Acme\DemoBundle\Entity\User2' => array(
|
'AppBundle\Entity\User2' => array(
|
||||||
'algorithm' => 'sha512',
|
'algorithm' => 'bcrypt',
|
||||||
'encode_as_base64' => 'true',
|
'cost' => 13,
|
||||||
'iterations' => 5000,
|
|
||||||
),
|
),
|
||||||
))
|
))
|
||||||
->requiresAtLeastOneElement()
|
->requiresAtLeastOneElement()
|
||||||
|
Reference in New Issue
Block a user