Skip to content

Commit 3e25cf2

Browse files
committed
Address some suggestions
1 parent 5ca528f commit 3e25cf2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

best_practices/security.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ site (or maybe nearly *all* sections), use the ``access_control`` area.
3232
Use the ``auto`` encoder for hashing your users' passwords.
3333

3434
If your users have a password, then we recommend hashing it using the ``auto``
35-
encoder, instead of the traditional SHA-512 or BCrypt hashing encoders. This configuration
36-
will ensure you use the best encoder available in your system.
35+
encoder.
3736

3837
.. note::
3938

reference/configuration/security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ sure to allocate enough space for them to be persisted. Also, passwords include
278278
the `cryptographic salt`_ inside them (it's generated automatically for each new
279279
password) so you don't have to deal with it.
280280

281-
.. _reference-security-bcrypt:
281+
.. _reference-security-encoder-auto:
282282

283283
Using the "auto" Password Encoder
284284
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

security.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ command will pre-configure this for you:
124124
encoders:
125125
# use your user class name here
126126
App\Entity\User:
127-
# auto is recommended because it will try to use sodium, which
128-
# is more secure but requires PHP 7.2 or the Sodium extension
127+
# Use native password encoder
128+
# This value auto-selects the best possible hashing algorithm
129+
# (i.e. Sodium when available).
129130
algorithm: auto
130131
131132
.. code-block:: xml

0 commit comments

Comments
 (0)