You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in csrf.js sets a HTTP header from the CSRF cookie, but it is not allowed to ready it. The HTTP header is thus set to "null", causing the request to fail.
I suggest turning the functionality into proper links, or reading the token from DOM - e.g.
$("[name='csrfmiddlewaretoken']").val();
The text was updated successfully, but these errors were encountered:
The code in csrf.js sets a HTTP header from the CSRF cookie, but it is not allowed to ready it. The HTTP header is thus set to "null", causing the request to fail.
I suggest turning the functionality into proper links, or reading the token from DOM - e.g.
The text was updated successfully, but these errors were encountered: