Skip to content

Commit 4769ed8

Browse files
committed
🐛 Does not redirect ot login if url start by /bolt...
1 parent 946a489 commit 4769ed8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/packages/security.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ security:
5858
- { path: '^/(%app_locales%)%bolt.backend_url%/api', roles: ADMIN_API_ACCESS } # handled by voter
5959
- { path: '^%bolt.backend_url%/_trans', roles: ADMIN_TRANSLATE_ACCESS } # handled by voter
6060
- { path: '^/(%app_locales%)%bolt.backend_url%/_trans', roles: ADMIN_TRANSLATE_ACCESS } # handled by voter
61-
- { path: '^%bolt.backend_url%', roles: IS_AUTHENTICATED_REMEMBERED }
62-
- { path: '^/(%app_locales%)%bolt.backend_url%', roles: IS_AUTHENTICATED_REMEMBERED }
61+
- { path: '^%bolt.backend_url%($|/)', roles: IS_AUTHENTICATED_REMEMBERED }
62+
- { path: '^/(%app_locales%)%bolt.backend_url%($|/)', roles: IS_AUTHENTICATED_REMEMBERED }

0 commit comments

Comments
 (0)