Exclude sitemap from firewall

cookie-consent-gdpr
Jannis Portmann 1 year ago
parent 50e0245d4e
commit a7b4bf09e4

@ -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 }
Loading…
Cancel
Save