Welcome Guest, Not a member yet? Register   Sign In
multiple csrf token in one page using jquery codeigniter 3.x
#2

You don't need multiple CSRF tokens, one is enough.

Go to Security file under the Config folder and find this line (it must be line 27) : public bool $tokenRandomize = true; and make it false. It regenerates the token each time you submit, that's why you are getting this error.

You can read about in our documentation
Reply


Messages In This Thread
RE: multiple csrf token in one page using jquery - by demyr - 02-14-2024, 08:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB