Skip to content

Commit c4dc4b2

Browse files
committed
configure field_name under framework.form
1 parent d9be6a5 commit c4dc4b2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reference/configuration/framework.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,13 @@ settings is configured.
337337

338338
.. _reference-framework-csrf-protection:
339339

340+
field_name
341+
..........
342+
343+
**type**: ``string`` **default**: ``_token``
344+
345+
This is the field name that you should give to the CSRF token field of your form.
346+
340347
csrf_protection
341348
~~~~~~~~~~~~~~~
342349

0 commit comments

Comments
 (0)