File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/Symfony/Bundle/SecurityBundle Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ protected function configure()
75
75
security:
76
76
encoders:
77
77
Symfony\Component\Security\Core\User\User: plaintext
78
- AppBundle \Entity\User: bcrypt
78
+ App \Entity\User: bcrypt
79
79
</comment>
80
80
81
81
If you execute the command non-interactively, the first available configured
@@ -87,16 +87,16 @@ protected function configure()
87
87
Pass the full user class path as the second argument to encode passwords for
88
88
your own entities:
89
89
90
- <info>php %command.full_name% --no-interaction [password] AppBundle \Entity\User</info>
90
+ <info>php %command.full_name% --no-interaction [password] App \Entity\User</info>
91
91
92
92
Executing the command interactively allows you to generate a random salt for
93
93
encoding the password:
94
94
95
- <info>php %command.full_name% [password] AppBundle \Entity\User</info>
95
+ <info>php %command.full_name% [password] App \Entity\User</info>
96
96
97
97
In case your encoder doesn't require a salt, add the <comment>empty-salt</comment> option:
98
98
99
- <info>php %command.full_name% --empty-salt [password] AppBundle \Entity\User</info>
99
+ <info>php %command.full_name% --empty-salt [password] App \Entity\User</info>
100
100
101
101
EOF
102
102
)
Original file line number Diff line number Diff line change @@ -410,8 +410,8 @@ private function addEncodersSection(ArrayNodeDefinition $rootNode)
410
410
->children ()
411
411
->arrayNode ('encoders ' )
412
412
->example (array (
413
- 'AppBundle \Entity\User1 ' => 'bcrypt ' ,
414
- 'AppBundle \Entity\User2 ' => array (
413
+ 'App \Entity\User1 ' => 'bcrypt ' ,
414
+ 'App \Entity\User2 ' => array (
415
415
'algorithm ' => 'bcrypt ' ,
416
416
'cost ' => 13 ,
417
417
),
You can’t perform that action at this time.
0 commit comments