This commit is contained in:
Peter Maquiran
2021-08-30 11:07:49 +01:00
parent e1b9880d99
commit 970f63da75
3 changed files with 4 additions and 4 deletions
+3 -2
View File
@@ -212,8 +212,9 @@ export class ProfilePage implements OnInit {
}
logout() {
window.localStorage.clear();
SessionStore.delete();
SessionStore.setInativity(false)
this.router.navigateByUrl('/inactivity');
setTimeout(() => {
this.router.navigateByUrl('/', { replaceUrl: true });
@@ -83,6 +83,7 @@ export class InactivityPage implements OnInit {
this.goback()
} else {
SessionStore.delete()
window.localStorage.clear();
await this.authService.SetSession(attempt, this.userattempt);
}
-2
View File
@@ -47,8 +47,6 @@ export class HeaderPage implements OnInit {
} else {
this.notificationLengthData();
}
}