This commit is contained in:
2025-12-08 03:05:24 +01:00
parent c6ea2f14a6
commit 20410b8525

View File

@@ -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");
}