[security-bundle/5.3] Configure auto password hasher

This commit is contained in:
Robin Chalas
2021-08-09 15:30:05 +02:00
parent e06589bbf8
commit 9af6da832c
@@ -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 }