8000 minor #12133 Update security.yml use auto for encoding (ognarb) · symfony/symfony-docs@13d0c27 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13d0c27

Browse files
committed
minor #12133 Update security.yml use auto for encoding (ognarb)
This PR was merged into the 4.3 branch. Discussion ---------- Update security.yml use auto for encoding Commits ------- df9ec7a Update security.yml use auto for encoding
2 parents 2e75409 + df9ec7a commit 13d0c27

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

security.rst

Lines changed: 3 additions & 4 deletions
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)
0