From a7b4bf09e446304494785a8aba598073ff6b616c Mon Sep 17 00:00:00 2001 From: thisfro Date: Wed, 19 Jan 2022 16:22:40 +0100 Subject: [PATCH] Exclude sitemap from firewall --- config/packages/security.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index dd3a3d5..10255a8 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -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 } \ No newline at end of file + - { path: ^(?!/(login|register|reset-password|offers|offer/*|imprint|faq|sitemap.*)), roles: ROLE_USER } \ No newline at end of file