Skip to content

Commit 8d8d0e6

Browse files
committed
docs: update note
For APIs, it should not redirect.
1 parent d531b39 commit 8d8d0e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/libraries/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ 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.
124+
.. note:: In production environment, when you use HTML forms, it is recommended
125+
to enable this redirection for a better user experience.
126126

127127
If you want to make it redirect to the previous page,
128128
change the following config parameter value in

0 commit comments

Comments
 (0)