04/28 Fixed some security issues

This commit is contained in:
2026-04-28 16:27:39 -04:00
parent d8b57cde77
commit bfc2f58fe2
38 changed files with 4273 additions and 4067 deletions
+4
View File
@@ -592,6 +592,7 @@ Management{% endblock %} {% block extra_head %}
method: "GET",
headers: {
"Content-Type": "application/json",
"X-CSRF-Token": (window.qrConfig && window.qrConfig.csrfToken) || "",
},
});
@@ -1050,6 +1051,7 @@ ${
method: "POST",
headers: {
"Content-Type": "application/json",
"X-CSRF-Token": (window.qrConfig && window.qrConfig.csrfToken) || "",
},
});
@@ -1096,6 +1098,7 @@ ${
method: "POST",
headers: {
"Content-Type": "application/json",
"X-CSRF-Token": (window.qrConfig && window.qrConfig.csrfToken) || "",
},
body: JSON.stringify({ days_to_keep: daysToKeep }),
});
@@ -1155,6 +1158,7 @@ ${
method: "POST",
headers: {
"Content-Type": "application/json",
"X-CSRF-Token": (window.qrConfig && window.qrConfig.csrfToken) || "",
},
body: JSON.stringify({ days_threshold: daysThreshold }),
});