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
@@ -79,6 +79,7 @@ export class InactivityPage implements OnInit {
await this.authService.SetSession(attempt, this.userattempt);
await this.authService.loginChat(this.userattempt);
await this.getToken();
SessionStore.setInativity(true)
this.goback()
} else {
@@ -142,6 +143,7 @@ export class InactivityPage implements OnInit {
goback() {
const pathName = this.SessionStore.user.UrlBeforeInactivity
alert(pathName)
this.router.navigate([pathName]);
}