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

Appearance settings

Commit 4dfa3ee

Browse filesBrowse files
committed
minor #20946 [Security] Update csrf.rst (Chris53897)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Security] Update csrf.rst i have no deeper knowledge. I just get over this while try to fixing problems with csrf Please check with https://symfony.com/doc/7.3/security.html#csrf-protection-in-login-forms Commits ------- 347b1c1 Update csrf.rst
2 parents 759ce7a + 347b1c1 commit 4dfa3ee
Copy full SHA for 4dfa3ee

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎security/csrf.rst

Copy file name to clipboardExpand all lines: security/csrf.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ to do anything to be protected against CSRF attacks.
112112

113113
.. _form-csrf-customization:
114114

115-
By default Symfony adds the CSRF token in a hidden field called ``_token``, but
115+
By default Symfony adds the CSRF token in a hidden field called ``_csrf_token``, but
116116
this can be customized (1) globally for all forms and (2) on a form-by-form basis.
117117
Globally, you can configure it under the ``framework.form`` option:
118118

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.