fix: redirect
This commit is contained in:
@@ -18,7 +18,7 @@ export default function AuthCallback() {
|
|||||||
|
|
||||||
await checkAuth();
|
await checkAuth();
|
||||||
|
|
||||||
navigate("/", { replace: true });
|
window.location.href = "/";
|
||||||
} else {
|
} else {
|
||||||
console.error("No token in URL");
|
console.error("No token in URL");
|
||||||
navigate("/login?error=no_token");
|
navigate("/login?error=no_token");
|
||||||
|
|||||||
Reference in New Issue
Block a user