Fix login page redirection when already authenticated
This commit is contained in:
@@ -60,7 +60,7 @@ export const LoginPage = () => {
|
||||
return () => setOverride({ status: false, value: null });
|
||||
}, []);
|
||||
|
||||
if (false && isAuthenticated) {
|
||||
if (isAuthenticated) {
|
||||
return <Navigate to={AppRoutes.root.path} replace />;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user