auto login chat

This commit is contained in:
tiago.kayaya
2022-02-08 14:22:32 +01:00
parent 7237d90653
commit e86b7749c5
8 changed files with 31 additions and 33 deletions
-1
View File
@@ -100,7 +100,6 @@ export class LoginPage implements OnInit {
// login to API successfully
if (attempt) {
if (attempt.UserId == SessionStore.user.UserId) {
await this.authService.SetSession(attempt, this.userattempt);
await this.authService.loginChat(this.userattempt);