Secure admin

This commit is contained in:
2025-04-21 19:12:48 +02:00
parent daeda4a9b5
commit 66b57ea84a
4 changed files with 7 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ 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: ^/admin, roles: ROLE_ADMIN }
# - { path: ^/profile, roles: ROLE_USER }
when@test: