Skip to content

Commit f7a2a75

Browse files
Update symfony/security-bundle/7.3/config/packages/security.yaml
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parent 5f53b3b commit f7a2a75

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

symfony/security-bundle/7.3/config/packages/security.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ security:
77
providers:
88
users_in_memory: { memory: null }
99

10-
firewalls:
11-
# Disable security for dev tools and static assets (only needed if access_control is broad):
1210
dev:
13-
# 'assets/' is for AssetMapper, 'build/' for Webpack Encore.
14-
# (Note: no regex delimiters needed; Symfony adds `{}` automatically.)
11+
# Ensure dev tools and static assets are always allowed
1512
pattern: ^/(_profiler|_wdt|assets|build)/
1613
security: false
1714
main:

0 commit comments

Comments
 (0)