multiple changes

This commit is contained in:
tiago.kayaya
2022-01-14 10:35:54 +01:00
parent 99e3ea2452
commit 896af7fc49
9 changed files with 18 additions and 15 deletions
+1 -2
View File
@@ -41,7 +41,6 @@ export class LoginPage implements OnInit {
private changeProfileService: ChangeProfileService,
public ThemeService: ThemeService,
private storageservice: StorageService,
private chatService: ChatService,
) {}
ngOnInit() {
@@ -102,7 +101,7 @@ export class LoginPage implements OnInit {
// login to API successfully
if (attempt) {
if (attempt.UserId == SessionStore.user.UserId) {
if (attempt.UserId == SessionStore.user.UserId) {
await this.authService.SetSession(attempt, this.userattempt);
await this.authService.loginChat(this.userattempt);
this.getToken();