Answer the question
In order to leave comments, you need to log in
Why do I get a 403 error when working with the jang admin panel in google chrome?
Hello, when editing the fields for the second time in the admin panel, it says: “Access error (403). CSRF validation failed. Request denied."
This error only pops up in google chrome. And are added to cookies csrf
, sessionid
and after adding/editing any field, a cookie is added messages
. If you delete manually messages
after each edit, then no errors are knocked out. In other browsers, the same cookie is also added, but there are no problems.
There are no problems on the deployment (that is, on a live server). I work in c9. What could be the matter and how to fix it? Thank you.
Answer the question
In order to leave comments, you need to log in
Perhaps this bug
UPD: on deployment, you may not have csrf middleware enabled.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question