We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c416506 + 9914038 commit ca73bf7Copy full SHA for ca73bf7
config/packages/security.yaml
@@ -45,7 +45,7 @@ security:
45
- { route: 'user_confirm', roles: PUBLIC_ACCESS }
46
- { route: 'user_reset_password', roles: PUBLIC_ACCESS }
47
- { route: 'user_profile', roles: ROLE_USER }
48
- - { path: ^/admin, roles: ROLE_ADMIN }
+ - { path: '^(/(%locales_regex%))?/admin', roles: ROLE_ADMIN }
49
50
when@test:
51
security:
0 commit comments