Skip to content

Commit 9af6da8

Browse files
committed
[security-bundle/5.3] Configure auto password hasher
1 parent e06589b commit 9af6da8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

symfony/security-bundle/5.3/config/packages/security.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
security:
22
# https://symfony.com/doc/current/security/experimental_authenticators.html
33
enable_authenticator_manager: true
4+
# https://symfony.com/doc/current/security.html#c-hashing-passwords
5+
password_hashers:
6+
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
47
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
58
providers:
69
users_in_memory: { memory: null }

0 commit comments

Comments
 (0)