|  | @@ -280,7 +280,7 @@ class Login extends Base
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |              $user = \app\common\model\User::getByMobile($mobile);
 |  |              $user = \app\common\model\User::getByMobile($mobile);
 | 
											
												
													
														|  |              if ($user) {
 |  |              if ($user) {
 | 
											
												
													
														|  | -                if ($user->status != 'normal') {
 |  | 
 | 
											
												
													
														|  | 
 |  | +                if ($user->status != StatusEnum::ENABLED) {
 | 
											
												
													
														|  |                      $this->error(__('Account is locked'));
 |  |                      $this->error(__('Account is locked'));
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  |                  //如果已经有账号则直接登录
 |  |                  //如果已经有账号则直接登录
 |