diff --git a/src/app/pages/login/login.page.ts b/src/app/pages/login/login.page.ts index 160397e3b..7e807d7e6 100644 --- a/src/app/pages/login/login.page.ts +++ b/src/app/pages/login/login.page.ts @@ -119,7 +119,7 @@ export class LoginPage implements OnInit { this.changeProfileService.run() await this.authService.loginChat(this.userattempt); this.getToken(); - this.router.navigateByUrl('/ping', { replaceUrl: true }); + this.router.navigateByUrl('/pin', { replaceUrl: true }); } } diff --git a/src/app/services/chat/ws-chat.service.ts b/src/app/services/chat/ws-chat.service.ts index 710c960b3..8bc08b74d 100644 --- a/src/app/services/chat/ws-chat.service.ts +++ b/src/app/services/chat/ws-chat.service.ts @@ -62,6 +62,7 @@ export class WsChatService { if(message.id == requestId ) { // same request send if(message.result) { + console.log(message) if(message.result.token) { this.isLogin = true