mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,8 +47,6 @@ export class HeaderPage implements OnInit {
|
||||
} else {
|
||||
this.notificationLengthData();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user