File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ Use the ``auto`` Password Hasher
368
368
369
369
The :ref: `auto password hasher <reference-security-encoder-auto >` automatically
370
370
selects the best possible encoder/hasher depending on your PHP installation.
371
- Currently, it tries to use `` sodium `` by default and falls back to ``bcrypt ``.
371
+ Starting from Symfony 5.3, the default auto hasher is ``bcrypt ``.
372
372
373
373
Use Voters to Implement Fine-grained Security Restrictions
374
374
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -219,9 +219,8 @@ command will pre-configure this for you:
219
219
encoders :
220
220
# use your user class name here
221
221
App\Entity\User :
222
- # Use native password encoder
223
- # This value auto-selects the best possible hashing algorithm
224
- # (i.e. Sodium when available).
222
+ # Use native password encoder, which auto-selects the best
223
+ # possible hashing algorithm (starting from Symfony 5.3 this is "bcrypt")
225
224
algorithm : auto
226
225
227
226
.. code-block :: xml
You can’t perform that action at this time.
0 commit comments