Skip to content

Commit 9de0c3e

Browse files
committed
use lowest possible p/w hash "work factor" in test env
1 parent a624d3b commit 9de0c3e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

symfony/security-bundle/5.3/config/packages/security.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@ security:
2525
access_control:
2626
# - { path: ^/admin, roles: ROLE_ADMIN }
2727
# - { path: ^/profile, roles: ROLE_USER }
28+
29+
when@test:
30+
security:
31+
password_hashers:
32+
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface:
33+
algorithm: auto
34+
cost: 4 # Lowest possible value for bcrypt
35+
time_cost: 3 # Lowest possible value for argon
36+
memory_cost: 10 # Lowest possible value for argon

0 commit comments

Comments
 (0)