-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
[feature] Add configuration to csrf to be able to change default /csrfToken route #2366
Comments
+1 |
Hi guys, Anyone know the answer to this ?? http://stackoverflow.com/questions/26795796/sailsjs-csrf-mismatch-error-customize |
Sorry for a delay had too much work on weekends. |
At the moment it's not possible to use csrf when using a route prefix. Is there a fix or solution that can be used? |
PR is still open. So you could fork repo and apply it locally. |
Merged f5cf006. Thank you guys. |
Need to add a config option to
sails.config.csrf
to be able to change default route for getting _csrf parameter for forms.Something like this:
The text was updated successfully, but these errors were encountered: