04/28 Fixed some security issues
This commit is contained in:
@@ -442,7 +442,9 @@ Code Management{% endblock %} {% block extra_head %}
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-CSRF-Token": (window.qrConfig && window.qrConfig.csrfToken) || "",
|
||||
"X-Requested-With": "XMLHttpRequest",
|
||||
"X-CSRF-Token": (window.qrConfig && window.qrConfig.csrfToken) || "",
|
||||
},
|
||||
body: JSON.stringify({
|
||||
new_status: newStatus,
|
||||
|
||||
Reference in New Issue
Block a user