Skip to content

Commit

Permalink
The replaceToken() method was added in version 4.5.0 instead of 4.3…
Browse files Browse the repository at this point in the history
….0 (#7909)
  • Loading branch information
vincentTSSB committed Aug 22, 2024
1 parent a18a73e commit 58b86c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/security/csrf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Should you need to rotate or replace the session CSRF token you can do so with::

$this->request = SessionCsrfProtectionMiddleware::replaceToken($this->request);

.. versionadded:: 4.3.0
.. versionadded:: 4.5.0
The ``replaceToken`` method was added.

Skipping CSRF checks for specific actions
Expand Down

0 comments on commit 58b86c3

Please sign in to comment.