Skip to content

Commit e959333

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [Form][Security] Configure field_name under framework.form
2 parents adb9be7 + 8c21b7b commit e959333

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reference/configuration/framework.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,15 @@ settings is configured.
544544

545545
For more details, see :doc:`/forms`.
546546

547+
.. _reference-form-field-name:
548+
549+
field_name
550+
..........
551+
552+
**type**: ``string`` **default**: ``_token``
553+
554+
This is the field name that you should give to the CSRF token field of your forms.
555+
547556
.. _reference-framework-csrf-protection:
548557

549558
csrf_protection

0 commit comments

Comments
 (0)