File tree 1 file changed +7
-6
lines changed
symfony/security-bundle/6.4/config/packages
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ when@test:
30
30
password_hashers :
31
31
# By default, password hashers are resource intensive and take time. This is
32
32
# important to generate secure password hashes. In tests however, secure hashes
33
- # are not important, waste resources and increase test times. The following
34
- # reduces the work factor to the lowest possible values.
33
+ # are not important, waste resources and increase test times.
35
34
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface :
36
- algorithm : auto
37
- cost : 4 # Lowest possible value for bcrypt
38
- time_cost : 3 # Lowest possible value for argon
39
- memory_cost : 10 # Lowest possible value for argon
35
+ algorithm : plaintext # disable hashing all together
36
+ # You can also use the following configuration to use the lowest possible values for bcrypt and argon:
37
+ # algorithm: auto
38
+ # cost: 4 # Lowest possible value for bcrypt
39
+ # time_cost: 3 # Lowest possible value for argon
40
+ # memory_cost: 10 # Lowest possible value for argon
You can’t perform that action at this time.
0 commit comments