Skip to content

Commit d531b39

Browse files
committed
docs: add note
1 parent 354dc67 commit d531b39

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

user_guide_src/source/libraries/security.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ Redirection on Failure
121121
Since v4.3.0, when a request fails the CSRF validation check,
122122
it will throw a SecurityException by default,
123123

124+
.. note:: In production environment, it is recommended to enable this redirection
125+
for a better user experience.
126+
124127
If you want to make it redirect to the previous page,
125128
change the following config parameter value in
126129
**app/Config/Security.php**:

0 commit comments

Comments
 (0)