• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CSRF The action you have requested is not allowed

#7
(11-20-2017, 01:46 AM)blaasvaer Wrote: How could I manage to get the error message posted within the regular error messages returned with the form, instead of having this ugly(!) default page error?

You will have to extend the core class CI_Security and override the method csrf_show_error()

But the point of CSRF is deflecting cross-site scripting attacks and returning a helpful message to the hacker may not be the best idea.
Reply


Messages In This Thread
RE: CSRF The action you have requested is not allowed - by dave friend - 11-20-2017, 03:34 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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