fix: redirect

This commit is contained in:
d3m0k1d
2026-02-15 00:22:43 +03:00
parent 74f17c3f3f
commit ea8fa90a31

View File

@@ -18,7 +18,7 @@ export default function AuthCallback() {
await checkAuth();
navigate("/", { replace: true });
window.location.href = "/";
} else {
console.error("No token in URL");
navigate("/login?error=no_token");