Use the new authenticator system introduced in symfony 5.1

This commit is contained in:
Jan Böhmer 2022-08-14 17:09:57 +02:00
parent 1dfd66fe7b
commit 93d817db81
2 changed files with 10 additions and 12 deletions

View file

@ -2,11 +2,11 @@
security:
# Disable password hashing during testing. This speeds up tests a lot
encoders:
App\Entity\UserSystem\User:
algorithm: plaintext
password_hashers:
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'plaintext'
firewalls:
# replace 'main' by the name of your own firewall
main:
entry_point: http_basic
http_basic: ~