Remove unneccessary line

This commit is contained in:
Jannis Portmann 2021-06-06 10:59:56 +02:00
parent 9b2ebb510f
commit 8c120bd872

View file

@ -45,7 +45,6 @@ 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: ^/admin, roles: ROLE_ADMIN }
- { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^(?!/(login|register|reset-password|offers|offer)), roles: ROLE_USER }