Skip to content
Snippets Groups Projects
Commit ee5bb3dc authored by Camille Simiand's avatar Camille Simiand
Browse files

Add captcha and verify email link paths to the access control

I found out a test was broken because of the closed access to the verify
email link. The user was not enabled and did not receive any feedback in
the redirected login page.
parent f7b2c73e
No related branches found
No related tags found
1 merge request!21Fix - Non authenticated user can't access capsule list page
......@@ -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 }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment