Skip to content

Commit dd28bf8

Browse files
committed
minor #16555 [Security] Update firewall_restriction.rst (issamkhadiri1989)
This PR was submitted for the 6.0 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Security] Update firewall_restriction.rst hello, i may suggest this correction: the correction assumes the the custom request matcher is **App\Security\CustomRequestMatcher**. the `request_matcher` option is the service id. it should be mentionned before that the `app.firewall.secured_area.request_matcher` is the service ID / or an alias like the following : ``` app.firewall.secured_area.request_matcher: alias: App\Security\RequestMatcher ``` <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- e0f53e9 Update firewall_restriction.rst
2 parents 0014a72 + e0f53e9 commit dd28bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/firewall_restriction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ If the above options don't fit your needs you can configure any service implemen
215215
security:
216216
firewalls:
217217
secured_area:
218-
request_matcher: app.firewall.secured_area.request_matcher
218+
request_matcher: App\Security\CustomRequestMatcher
219219
# ...
220220
221221
.. code-block:: xml

0 commit comments

Comments
 (0)