We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc169d9 commit 79ec269Copy full SHA for 79ec269
1 file changed
user_guide_src/source/libraries/security.rst
@@ -112,6 +112,10 @@ may alter this behavior by editing the following config parameter value in
112
113
.. literalinclude:: security/004.php
114
115
+.. warning:: If you use Cookie based CSRF protection, and :php:func:`redirect()`
116
+ after the submission, you must call ``withCookie()`` to send the regenerated
117
+ CSRF cookie. See :ref:`response-redirect` for details.
118
+
119
.. note:: Since v4.2.3, you can regenerate CSRF token manually with the
120
``Security::generateHash()`` method.
121
0 commit comments