2 # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords
4 Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
5 # https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider
7 # users_in_memory: { memory: null }
10 pattern: ^/(_(profiler|wdt)|css|images|js)/
14 # provider: users_in_memory
16 # activate different ways to authenticate
17 # https://symfony.com/doc/current/security.html#the-firewall
19 # https://symfony.com/doc/current/security/impersonating_user.html
22 # Easy way to control access for large sections of your site
23 # Note: Only the *first* access control that matches will be used
25 # - { path: ^/admin, roles: ROLE_ADMIN }
26 # - { path: ^/profile, roles: ROLE_USER }
31 # By default, password hashers are resource intensive and take time. This is
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.
35 Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface:
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