Skip to content

Commit a03800e

Browse files
authored
Merge pull request #981 from chalasr/pwd-hashers
[security-bundle/5.3] Configure `auto` password hasher
2 parents e06589b + 9af6da8 commit a03800e

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)