Refacturation

This commit is contained in:
Eudes Inácio
2021-06-25 09:35:50 +01:00
parent 9c44d5dc2d
commit f0d3823d47
3 changed files with 129 additions and 351 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ export class LoginPage implements OnInit {
} */
getToken() {
// this.notificatinsservice.getAndpostToken(this.username);
this.notificatinsservice.getAndpostToken(this.username);
}
async Login() {
@@ -133,7 +133,7 @@ export class LoginPage implements OnInit {
if (attempt) {
//this.loginRocketChat();
this.authService.loginChat(this.userattempt);
//this.getToken();
this.getToken();
if(!this.pin) {
this.setPint = true