Invalid CSRF - Case creation form #240
Labels
bug
Something isn't working
help wanted
Extra attention is needed
high priority
Needs to be resolved ASAP
production
harena in the cloud
When attempting to create a case (using axios and form), it results in Invalid CSRF. The error started to occur after 'token-validator.js'. The validator makes one GET request using axios, and somehow that's messing up the CSRF for the case creation POST. Need help to figure this out.
Ps. The error only occurs in the production (https://harena.ds4h.org/create). I've temporarily disabled the CSRF in 'config/shield.js', just so Marco can keep using the platform with no error.
The text was updated successfully, but these errors were encountered: