From 20410b85252e8755d61e1e4148abd0ec4f585faf Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Mon, 8 Dec 2025 03:05:24 +0100 Subject: [PATCH] asdsd --- public/assets/js/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/js/api.js b/public/assets/js/api.js index a6519c1..e637262 100644 --- a/public/assets/js/api.js +++ b/public/assets/js/api.js @@ -35,7 +35,7 @@ async function apiFetch(url, init = {}) { }); if (res.status === 401) { if (!disableAuthRedirect) { - window.location.href = "/login.php"; + //window.location.href = "/login.php"; } throw new Error("unauthorized"); }