Welcome Guest, Not a member yet? Register   Sign In
CSRF The action you have requested is not allowed
#7

(This post was last modified: 11-20-2017, 03:38 PM by dave friend.)

(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



Theme © iAndrew 2016 - Forum software by © MyBB