4 weeks ago

CSRF started failing in my dev environment

Posted 4 weeks ago by Boggimedes

Saturday, everything works fine. Sunday, no changes, but now every form I submit returns a 419 error.

Revert to master branch: Same issue (the same branch that is currently working on production) Tested redis, values are successfully saved and retrieved These are straight HTTP form submissions, no ajax.

Looking at the code the CSRF code is being inserted into my form, but unlike on my production and sandbox servers, every time I refresh the page, it generates a new token. So the session/token isn't persisting?

I've changed the session driver to file to see if that had any effect, and it did not.

so... WTH?? I'm out of ideas.

Please sign in or create an account to participate in this conversation.