We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0572866 commit a55058fCopy full SHA for a55058f
src/Symfony/Bundle/SecurityBundle/DependencyInjection/MainConfiguration.php
@@ -407,11 +407,10 @@ private function addEncodersSection(ArrayNodeDefinition $rootNode)
407
->children()
408
->arrayNode('encoders')
409
->example(array(
410
- 'Acme\DemoBundle\Entity\User1' => 'sha512',
411
- 'Acme\DemoBundle\Entity\User2' => array(
412
- 'algorithm' => 'sha512',
413
- 'encode_as_base64' => 'true',
414
- 'iterations' => 5000,
+ 'AppBundle\Entity\User1' => 'bcrypt',
+ 'AppBundle\Entity\User2' => array(
+ 'algorithm' => 'bcrypt',
+ 'cost' => 13,
415
),
416
))
417
->requiresAtLeastOneElement()
0 commit comments