chat retry

This commit is contained in:
Peter Maquiran
2022-12-26 15:41:11 +01:00
parent b83fff6fbd
commit 0a3fd0ec8b
79 changed files with 223 additions and 1025 deletions
+2 -1
View File
@@ -22,7 +22,7 @@ export class AuthGuard implements CanActivate {
route: ActivatedRouteSnapshot,
state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
console.log('hire inactinity!', state.url)
console.log('hire auth!', state.url)
// if user not active or no session
if(!SessionStore.user.Inactivity || !SessionStore.exist) {
@@ -31,6 +31,7 @@ export class AuthGuard implements CanActivate {
this.router.navigate(['/pin']);
} else {
this.router.navigate(['/']);
// console.log('goto login page')
}
return false