Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit133ce56

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Add data-controller="csrf-protection" to CSRF fields
2 parentsbb93f22 +05f70cc commit133ce56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎security.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ be ``authenticate``:
10161016
<form action="{{ path('app_login') }}" method="post">
10171017
{# ... the login fields #}
10181018

1019-
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
1019+
<input type="hidden" name="_csrf_token"data-controller="csrf-protection"value="{{ csrf_token('authenticate') }}">
10201020

10211021
<button type="submit">login</button>
10221022
</form>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp