mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 22:45:56 +01:00
Use plaintext password encoding in test environment.
That speeds up tests alot.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# config/packages/test/security.yaml
|
||||
security:
|
||||
|
||||
# Disable password hashing during testing. This speeds up tests a lot
|
||||
encoders:
|
||||
App\Entity\UserSystem\User:
|
||||
algorithm: plaintext
|
||||
|
||||
firewalls:
|
||||
# replace 'main' by the name of your own firewall
|
||||
main:
|
||||
|
||||
Reference in New Issue
Block a user