Merge with developer brunch

This commit is contained in:
Eudes Inácio
2021-02-10 10:37:13 +01:00
1735 changed files with 6305 additions and 250030 deletions
+5 -5
View File
@@ -62,11 +62,11 @@ export class LoginPage implements OnInit {
await alert.present();
}
loginRocketChat(user: any) {
loginRocketChat() {
let postData = {
"user": user.username,
"password": user.password,
"user": this.username,
"password": this.password,
}
this.authService.loginChat(postData).subscribe((res: any) => {
console.log(res.data);
@@ -130,8 +130,8 @@ export class LoginPage implements OnInit {
BasicAuthKey: ""
}
if (await this.authService.login(this.userattempt)) {
/* this.loginRocketChat(); */
this.storeUserIdANdToken()
this.loginRocketChat();
this.storeUserIdANdToken();
this.router.navigate(['/home/events']);
}