mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-28 12:01:13 -04:00
FE: Hardening
This commit is contained in:
1 parent
90f2714639
commit
7795037843
3 files changed
+4
-2
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user