• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.