From df9ec7a4154eee4f50cec1cd79b004148ced71d6 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sat, 10 Aug 2019 11:35:20 +0200 Subject: [PATCH] Update security.yml use auto for encoding --- security.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/security.rst b/security.rst index c35ab9fa6b9..f9d4ab90f82 100644 --- a/security.rst +++ b/security.rst @@ -124,10 +124,9 @@ command will pre-configure this for you: encoders: # use your user class name here App\Entity\User: - # bcrypt or sodium are recommended - # sodium is more secure, but requires PHP 7.2 or the Sodium extension - algorithm: bcrypt - cost: 12 + # Use native password encoder + # This value auto-selects the best possible hashing algorithm. + algorithm: auto .. code-block:: xml