Exclude sitemap from firewall

This commit is contained in:
Jannis Portmann 2022-01-19 16:22:40 +01:00
parent 50e0245d4e
commit a7b4bf09e4

View file

@ -50,4 +50,4 @@ security:
access_control:
- { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^(?!/(login|register|reset-password|offers|offer/*|imprint|faq)), roles: ROLE_USER }
- { path: ^(?!/(login|register|reset-password|offers|offer/*|imprint|faq|sitemap.*)), roles: ROLE_USER }