From 63222f45031072f0ebe5ab22ad711d5d095a64f3 Mon Sep 17 00:00:00 2001 From: "Jokob @NetAlertX" <96159884+jokob-sk@users.noreply.github.com> Date: Sun, 11 Jan 2026 03:16:41 +0000 Subject: [PATCH] FE: update authorization method to use API_TOKEN setting --- front/js/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/js/common.js b/front/js/common.js index 5386c975..0af6478a 100755 --- a/front/js/common.js +++ b/front/js/common.js @@ -1591,7 +1591,7 @@ function restartBackend() { method: "POST", url: "/logs/add-to-execution-queue", headers: { - "Authorization": "Bearer " + getApiToken(), + "Authorization": "Bearer " + getSetting("API_TOKEN"), "Content-Type": "application/json" }, data: JSON.stringify({ action: `${getGuid()}|cron_restart_backend` }),