Welcome Guest, Not a member yet? Register   Sign In
How to prevent error page when CSRF token has expired
#1

[eluser]luismartin[/eluser]
If the CSRF token expires, and I still want to use the form, I will get a white error page with this message:

Quote:An Error Was Encountered

The action you have requested is not allowed.

The CSRF security cookie is working. But I would like to redirect the user to the login page instead of displaying the error.

What should I do? and where?




Theme © iAndrew 2016 - Forum software by © MyBB