security: password_hashers: Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' providers: bpn_user_provider: entity: class: App\Entity\User property: email role_hierarchy: ROLE_ADMIN: [ ROLE_ADMINISTRATIVE ] ROLE_MANAGER: [ ROLE_ADMINISTRATIVE ] firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: lazy: true provider: bpn_user_provider custom_authenticators: - App\Security\BpnAuthenticator user_checker: App\Security\UserChecker switch_user: role: CAN_IMPERSONATE logout: path: app_security_logout target: app_security_login access_control: - { path: '^/_uploader', roles: ROLE_USER, requires_channel: https } - { path: '^/', roles: PUBLIC_ACCESS, requires_channel: https } when@test: security: password_hashers: Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: algorithm: auto cost: 4 # Lowest possible value for bcrypt time_cost: 3 # Lowest possible value for argon memory_cost: 10 # Lowest possible value for argon