This commit is contained in:
Peter Maquiran
2022-12-30 14:31:19 +01:00
parent 88d948c5e0
commit e5b7032a18
11 changed files with 75 additions and 29 deletions
+6 -1
View File
@@ -203,7 +203,12 @@ export class ProfilePage implements OnInit {
}
logout() {
this.authService.logout();
SessionStore.setInativity(false)
SessionStore.setUrlBeforeInactivity(this.router.url);
setTimeout(() => {
// alert('logout')
this.router.navigateByUrl('/', { replaceUrl: true });
}, 100)
}
async editProfile() {