This commit is contained in:
Peter Maquiran
2022-02-10 18:07:06 +01:00
parent 382ee2fd1b
commit 08da9419bb
12 changed files with 66 additions and 34 deletions
+2
View File
@@ -103,6 +103,7 @@ export class LoginPage implements OnInit {
if (attempt.UserId == SessionStore.user.UserId) {
await this.authService.SetSession(attempt, this.userattempt);
await this.authService.loginChat();
await this.authService.loginToChatWs()
this.getToken();
SessionStore.setInativity(true);
@@ -117,6 +118,7 @@ export class LoginPage implements OnInit {
this.changeProfileService.run()
await this.authService.loginChat();
await this.authService.loginToChatWs()
this.getToken();
this.router.navigateByUrl('/pin', { replaceUrl: true });
}