Skip to content

Commit df9ec7a

Browse files
authored
Update security.yml use auto for encoding
1 parent f0e6fcb commit df9ec7a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

security.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,9 @@ command will pre-configure this for you:
124124
encoders:
125125
# use your user class name here
126126
App\Entity\User:
127-
# bcrypt or sodium are recommended
128-
# sodium is more secure, but requires PHP 7.2 or the Sodium extension
129-
algorithm: bcrypt
130-
cost: 12
127+
# Use native password encoder
128+
# This value auto-selects the best possible hashing algorithm.
129+
algorithm: auto
131130
132131
.. code-block:: xml
133132

0 commit comments

Comments
 (0)