diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 5d52eb4be0301f5b290a61640ce82d1be93a3ffd..9c023d53dd54d7b275a08320265895134944d283 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -33,8 +33,5 @@ security: # https://symfony.com/doc/current/security/impersonating_user.html # switch_user: true - # 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: ^/my_capsules, roles: ROLE_USER } - + - { path: ^/(?!register|login|generate-captcha|verify/email), roles: ROLE_USER }