fix logins page redirect

This commit is contained in:
KingKDot
2026-04-13 20:26:03 -05:00
parent 41f8f087ce
commit 30e5d4d67b
12 changed files with 25 additions and 23 deletions
@@ -14,7 +14,7 @@ export async function checkFeatureAccess(feature, clientId) {
const res = await fetch(`/api/auth/feature-check?${params}`, { credentials: "include" });
if (res.status === 401) {
window.location.href = "/login.html";
window.location.href = "/";
return false;
}