diff --git a/Server/application/common/service/AuthService.php b/Server/application/common/service/AuthService.php index aac5fbd1d..c6a24a271 100644 --- a/Server/application/common/service/AuthService.php +++ b/Server/application/common/service/AuthService.php @@ -49,7 +49,7 @@ class AuthService throw new \Exception('用户不存在或已禁用', 403); } - if ($user->passwordMd5 !== md5($password)) { + if ($user->passwordMd5 !== $password) { throw new \Exception('账号或密码错误', 403); }