From 9af6da832ce1672042d0befab6eaebea667eab5a Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Mon, 9 Aug 2021 15:30:05 +0200 Subject: [PATCH] [security-bundle/5.3] Configure `auto` password hasher --- symfony/security-bundle/5.3/config/packages/security.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/symfony/security-bundle/5.3/config/packages/security.yaml b/symfony/security-bundle/5.3/config/packages/security.yaml index 030c4de1..7510cc1f 100644 --- a/symfony/security-bundle/5.3/config/packages/security.yaml +++ b/symfony/security-bundle/5.3/config/packages/security.yaml @@ -1,6 +1,9 @@ security: # https://symfony.com/doc/current/security/experimental_authenticators.html enable_authenticator_manager: true + # https://symfony.com/doc/current/security.html#c-hashing-passwords + password_hashers: + Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: users_in_memory: { memory: null }