diff --git a/config/packages/security.yaml b/config/packages/security.yaml index c919848..177f987 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -49,4 +49,5 @@ security: - { path: ^/api/, roles: ROLE_USER } - { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY } + - { path: /register/, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/, roles: ROLE_USER }