Skip to content

Commit b2ce400

Browse files
authored
Fix dev firewall order (Sylius 2.0) (#1130)
Follow up of Sylius/Sylius#17919
2 parents 680a630 + f23b730 commit b2ce400

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/packages/security.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ security:
1212
password_hashers:
1313
Sylius\Component\User\Model\UserInterface: argon2i
1414
firewalls:
15+
dev:
16+
pattern: ^/(_(profiler|wdt)|css|images|js)/
17+
security: false
18+
1519
admin:
1620
switch_user: true
1721
context: admin
@@ -106,10 +110,6 @@ security:
106110
pattern: ^/media/cache/resolve
107111
security: false
108112

109-
dev:
110-
pattern: ^/(_(profiler|wdt)|css|images|js)/
111-
security: false
112-
113113
access_control:
114114
- { path: "%sylius.security.admin_regex%/forgotten-password", role: PUBLIC_ACCESS }
115115

0 commit comments

Comments
 (0)