diff --git a/config/packages/security.yaml b/config/packages/security.yaml index a8f9810..a764dfa 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -40,7 +40,8 @@ security: # Easy way to control access for large sections of your site # Note: Only the *first* access control that matches will be used access_control: - - { path: ^/*, roles: ROLE_USER } + - { path: ^/login, roles: PUBLIC_ACCESS } + - { path: ^/*, roles: IS_AUTHENTICATED_FULLY} when@test: security: