Skip to content

Commit 23d71d6

Browse files
committed
docs: add changelog and note
1 parent 4441fd1 commit 23d71d6

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

user_guide_src/source/changelogs/v4.2.2.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ BREAKING
1818
- A bug that caused pages to be cached before after filters were executed when using page caching has been fixed. Adding response headers or changing the response body in after filters now caches them correctly.
1919
- Due to a bug fix, now :php:func:`random_string` with the first parameter ``'crypto'`` throws ``InvalidArgumentException`` if the second parameter ``$len`` is an odd number.
2020

21-
Enhancements
22-
************
23-
24-
none.
25-
2621
Changes
2722
*******
2823

user_guide_src/source/changelogs/v4.2.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ none.
1717
Enhancements
1818
************
1919

20-
none.
20+
- Now ``Security::generateHash()`` is public, and can be used to regenerate CSRF token manually when ``Config\Security::$regenerate`` is false.
2121

2222
Changes
2323
*******

user_guide_src/source/libraries/security.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ may alter this behavior by editing the following config parameter value in
106106

107107
.. literalinclude:: security/004.php
108108

109+
.. note:: Since v4.2.3, you can regenerate CSRF token manually with the
110+
``Security::generateHash()`` method.
111+
109112
Redirection on Failure
110113
----------------------
111114

0 commit comments

Comments
 (0)