diff --git a/app/controller/admin/auth/AuthController.php b/app/controller/admin/auth/AuthController.php index ce79096..b12b875 100644 --- a/app/controller/admin/auth/AuthController.php +++ b/app/controller/admin/auth/AuthController.php @@ -55,7 +55,7 @@ class AuthController extends BaseController if($clientModel && $clientModel['is_lock']) { if (empty($clientModel['lock_password'])) { if(!password_verify($password, $this->auth->getUser()->password)) { - return $this->writeError('密码错误'); + return $this->writeError('密码错误', $this->auth->getUser()); } }else{ if($clientModel['lock_password'] !== $password) {