update auth guard and sign-in forms, add guidelines for custom auth to handle login and logout,
This commit is contained in:
@@ -29,6 +29,7 @@ export function AuthGuard({ children }: AuthGuardProps): React.JSX.Element | nul
|
||||
return;
|
||||
}
|
||||
|
||||
// NOTE: here state that if user = null, eject user to login page
|
||||
if (!user) {
|
||||
logger.debug('[AuthGuard]: User is not logged in, redirecting to sign in');
|
||||
|
||||
|
Reference in New Issue
Block a user