This commit is contained in:
tiago.kayaya
2021-06-09 14:00:14 +01:00
parent 2283b52df0
commit 2e98333c88
2 changed files with 26 additions and 17 deletions
+4 -1
View File
@@ -118,7 +118,10 @@ export class LoginPage implements OnInit {
domainName: environment.domain,
BasicAuthKey: ""
}
if (await this.authService.login(this.userattempt)) {
let attempt = await this.authService.login(this.userattempt);
console.log(JSON.stringify(attempt));
if (attempt) {
//this.loginRocketChat();
this.authService.loginChat(this.userattempt);
//this.getToken();