Skip to content

Commit 47a08f2

Browse files
committed
add comments in firewall configuration of security.rst to make the firewall precedence more explicit
1 parent b07aadc commit 47a08f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

security.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@ will be able to authenticate (e.g. login form, API token, etc).
511511
dev:
512512
pattern: ^/(_(profiler|wdt)|css|images|js)/
513513
security: false
514+
# add a new firewall here with a specific pattern, the first firewall matched by pattern will be
515+
# executed, if a firewall has no pattern it will match all requests and the others will be skipped
514516
main:
515517
lazy: true
516518
provider: users_in_memory

0 commit comments

Comments
 (0)