This commit is contained in:
Peter Maquiran
2021-08-30 11:41:21 +01:00
parent 970f63da75
commit 6a3ef5b14e
4 changed files with 7 additions and 6 deletions
+3 -4
View File
@@ -212,12 +212,11 @@ export class ProfilePage implements OnInit {
}
logout() {
SessionStore.setInativity(false)
this.router.navigateByUrl('/inactivity');
window['inactivity/function']()
setTimeout(() => {
this.router.navigateByUrl('/', { replaceUrl: true });
this.router.navigate(['/inactivity']);
}, 100)
}