Skip to content

Commit ca73bf7

Browse files
authored
Merge pull request #46 from sumocoders/340-multi-language
340 multi language
2 parents c416506 + 9914038 commit ca73bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/packages/security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ security:
4545
- { route: 'user_confirm', roles: PUBLIC_ACCESS }
4646
- { route: 'user_reset_password', roles: PUBLIC_ACCESS }
4747
- { route: 'user_profile', roles: ROLE_USER }
48-
- { path: ^/admin, roles: ROLE_ADMIN }
48+
- { path: '^(/(%locales_regex%))?/admin', roles: ROLE_ADMIN }
4949

5050
when@test:
5151
security:

0 commit comments

Comments
 (0)