mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 02:14:31 +02:00
Use the new authenticator system introduced in symfony 5.1
This commit is contained in:
parent
1dfd66fe7b
commit
93d817db81
2 changed files with 10 additions and 12 deletions
|
@ -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: ~
|
Loading…
Add table
Add a link
Reference in a new issue