warrior 9 ماه پیش
والد
کامیت
c2e7d555ba
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 4
      projects/textbook/src/modules/login/account-info/account-info.component.ts

+ 0 - 4
projects/textbook/src/modules/login/account-info/account-info.component.ts

@@ -143,10 +143,6 @@ export class AccountInfoComponent implements OnInit {
   }
 
   async profileSave(params: any) {
-    if(!await this.authUser()){
-      return
-    }
-
     this.user?.set('name', params.name);
     this.user?.set('email', params.email);
     this.user?.set('phone', params.email);