zengyyh 3 months ago
parent b65ee55a38
commit 88f7fcd465
  1. 2
      app/api/service/passport/Login.php

@ -64,7 +64,7 @@ class Login extends BaseService
throwError("账号不存在"); throwError("账号不存在");
} }
if (empty($userInfo['password'])) { if (empty($userInfo['password'])) {
throwError("用户密码为空,请联系管理员"); throwError("密码不正确");
} }
if ($userInfo['password'] !== md5($data['password'])) { if ($userInfo['password'] !== md5($data['password'])) {

Loading…
Cancel
Save