From 3f2fcfd2695933e2fd5f53833fec86a56610e242 Mon Sep 17 00:00:00 2001 From: ASTIER Yann Date: Thu, 28 Nov 2024 16:48:02 +0100 Subject: [PATCH] login finished. --- config/packages/security.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: