This commit is contained in:
tiago.kayaya
2022-02-08 16:37:32 +01:00
parent 0c01cb1ebc
commit b169ff5687
4 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -102,7 +102,7 @@ export class LoginPage implements OnInit {
if (attempt) {
if (attempt.UserId == SessionStore.user.UserId) {
await this.authService.SetSession(attempt, this.userattempt);
await this.authService.loginChat(this.userattempt);
await this.authService.loginChat();
this.getToken();
SessionStore.setInativity(true);
@@ -116,7 +116,7 @@ export class LoginPage implements OnInit {
await this.authService.SetSession(attempt, this.userattempt);
this.changeProfileService.run()
await this.authService.loginChat(this.userattempt);
await this.authService.loginChat();
this.getToken();
this.router.navigateByUrl('/pin', { replaceUrl: true });
}