FE: Hardening

This commit is contained in:
jokob-sk committed 2026-10-13 16:54:18 +11:00
1 parent 90f2714639
commit 7795037843
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1231,7 +1231,7 @@ function saveWorkflows()
appConfBase64 = btoa(JSON.stringify(getWorkflowsJson()))
// import
$.post('php/server/query_replace_config.php', { base64data: appConfBase64, fileName: "workflows.json" })
$.post('php/server/query_replace_config.php', { base64data: appConfBase64, fileName: "workflows.json", csrf_token: <?= json_encode(getCsrfToken()) ?> })
.done(function(msg) {
console.log(msg);
write_notification(`[WF]: ${msg}`, 'interrupt');