Skip to content

Commit 8bd0abe

Browse files
committed
Merge branch '7.4' into 8.0
* 7.4: [Security]: Updating for new recipe
2 parents f23ef04 + 669c303 commit 8bd0abe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

security.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ creates a ``security.yaml`` configuration file for you:
3131
users_in_memory: { memory: null }
3232
firewalls:
3333
dev:
34-
pattern: ^/(_(profiler|wdt)|css|images|js)/
34+
# 'assets/' is for AssetMapper, 'build/' for Webpack Encore.
35+
# (Note: no regex delimiters needed; Symfony adds `{}` automatically.)
36+
pattern: ^/(_profiler|_wdt|assets|build)/
3537
security: false
3638
main:
3739
lazy: true

0 commit comments

Comments
 (0)