From 8c120bd8726d1f09a1275e8f2b5f2044277b4fb7 Mon Sep 17 00:00:00 2001 From: thisfro Date: Sun, 6 Jun 2021 10:59:56 +0200 Subject: [PATCH] Remove unneccessary line --- config/packages/security.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index ef272cf..bb7bb7c 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -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 } \ No newline at end of file