This commit is contained in:
tiago.kayaya
2021-01-20 10:23:59 +01:00
parent 874133d28e
commit 38765d4da9
99 changed files with 2696 additions and 18069 deletions
+3 -3
View File
@@ -55,14 +55,14 @@ export class LoginPage implements OnInit {
await alert.present();
}
loginRocketChat(){
/* loginRocketChat(){
this.authService.loginChat(this.postData).subscribe((res: any) =>{
this.storageService.store(AuthConnstants.AUTH, res.data);
console.log('Login to Rocket chat OK');
},(error:any) =>{
console.log('Network error');
});
}
} */
@@ -78,7 +78,7 @@ export class LoginPage implements OnInit {
BasicAuthKey: ""
}
if (await this.authService.login(this.userattempt)){
this.loginRocketChat();
/* this.loginRocketChat(); */
this.router.navigate(['/home/events']);
}
else