From 473a5294eaae062db76f106f204332132168400c Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 1 Mar 2025 16:31:46 +0100 Subject: [PATCH] Fix register route security --- config/packages/security.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 17a429e..b9f1ad4 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -39,7 +39,7 @@ security: # Note: Only the *first* access control that matches will be used access_control: - { path: ^/login$, role: PUBLIC_ACCESS } - - { path: ^/register, role: PUBLIC_ACCESS } + - { path: ^/register$, role: PUBLIC_ACCESS } - { path: ^/logout$, role: ROLE_USER } - { path: ^/admin, role: ROLE_ADMIN }