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

(02-14-2024, 08:12 AM)demyr Wrote: 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

thank you for reply im sorry i did not mentioned that im using 3.x version, there is no such that thing in my files
Reply


Messages In This Thread
RE: multiple csrf token in one page using jquery - by nasakh - 02-14-2024, 09:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB