Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 882bf92

Browse files
committed
minor #16642 [Security] Add missing signature_properties config (ZHB)
This PR was merged into the 5.4 branch. Discussion ---------- [Security] Add missing signature_properties config <!-- 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 ------- 5c488c8 Add missing signature_properties config
2 parents 85b5b9d + 5c488c8 commit 882bf92

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

security/login_link.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ under the firewall. You must configure a ``check_route`` and
6161
6262
<config>
6363
<firewall name="main">
64-
<login-link check-route="login_check"/>
64+
<login-link check-route="login_check">
65+
<signature-property>id</signature-property>
66+
</login-link>
6567
</firewall>
6668
</config>
6769
</srv:container>
@@ -75,6 +77,7 @@ under the firewall. You must configure a ``check_route`` and
7577
$security->firewall('main')
7678
->loginLink()
7779
->checkRoute('login_check')
80+
->signatureProperties(['id'])
7881
;
7982
};
8083

0 commit comments

Comments
 (0)