mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-17 06:39:25 +08:00
Revert login checker to original url
This commit is contained in:
parent
5d8610056b
commit
e66bff306f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default function LoginChecker() {
|
||||||
if (!logged_in && !old_session_checked) {
|
if (!logged_in && !old_session_checked) {
|
||||||
} else if (!logged_in && old_session_checked) {
|
} else if (!logged_in && old_session_checked) {
|
||||||
console.log("Not logged in. Redirecting to login page");
|
console.log("Not logged in. Redirecting to login page");
|
||||||
return <Navigate to="Ivy/Login" replace />;
|
return <Navigate to="/Login" replace />;
|
||||||
}
|
}
|
||||||
return <div />;
|
return <div />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue