Skip to content

Commit d7adc5a

Browse files
committed
minor #12665 #12662 [SecurityBundle] Wrong note about password encoders (Thomas Berends)
This PR was merged into the 3.4 branch. Discussion ---------- #12662 [SecurityBundle] Wrong note about password encoders Fixes #12662 #SymfonyHackday Commits ------- 0726f1f Fixes #12662
2 parents 0fe1628 + 0726f1f commit d7adc5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/configuration/security.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ encoding algorithm. Also, each algorithm defines different config options:
152152
# Argon2i encoder with default options
153153
AppBundle\Entity\User: 'argon2i'
154154
155-
# PBKDF2 encoder using SHA512 hashing with default options
155+
# MessageDigestPasswordEncoder encoder using SHA512 hashing with default options
156156
AppBundle\Entity\User: 'sha512'
157157
158158
.. code-block:: xml
@@ -186,7 +186,7 @@ encoding algorithm. Also, each algorithm defines different config options:
186186
algorithm="argon2i"
187187
/>
188188
189-
<!-- PBKDF2 encoder using SHA512 hashing with default options -->
189+
<!-- MessageDigestPasswordEncoder encoder using SHA512 hashing with default options -->
190190
<encoder
191191
class="AppBundle\Entity\User"
192192
algorithm="sha512"
@@ -218,7 +218,7 @@ encoding algorithm. Also, each algorithm defines different config options:
218218
'algorithm' => 'argon2i',
219219
],
220220
221-
// PBKDF2 encoder using SHA512 hashing with default options
221+
// MessageDigestPasswordEncoder encoder using SHA512 hashing with default options
222222
User::class => [
223223
'algorithm' => 'sha512',
224224
],

0 commit comments

Comments
 (0)