We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I set TRUE in $config['csrf_protection']($config['csrf_protection'] = TRUE;). It doesn't work. How to fix it please give me suggestion.
The text was updated successfully, but these errors were encountered:
You must set cookies on ajax call, try this:
"ajax": { "url": "whatever", "type": "POST", "data": { yours_csrf_token_name: Cookies('yours_csrf_cookie_name') } },
you need to load https://github.com/js-cookie/js-cookie on your views.
Sorry, something went wrong.
Thank you so much @ichadhr its working.
No branches or pull requests
When I set TRUE in $config['csrf_protection']($config['csrf_protection'] = TRUE;). It doesn't work. How to fix it please give me suggestion.
The text was updated successfully, but these errors were encountered: