This commit is contained in:
Peter Maquiran
2022-06-24 16:19:28 +01:00
parent ce7b7b94d0
commit fd2068b36d
+1 -6
View File
@@ -115,10 +115,6 @@ export class LoginPage implements OnInit {
loader.remove() loader.remove()
// login to API successfully
console.log(attempt,'!!::!!');
if (attempt) { if (attempt) {
if (attempt.UserId == SessionStore.user.UserId) { if (attempt.UserId == SessionStore.user.UserId) {
@@ -126,9 +122,8 @@ export class LoginPage implements OnInit {
if(attempt.ChatData) { if(attempt.ChatData) {
await this.authService.loginChat(attempt.ChatData.data); await this.authService.loginChat(attempt.ChatData.data);
//try {
await this.authService.loginToChatWs(); await this.authService.loginToChatWs();
// } catch(e) {}
} }