From e07d834ad6206378e3d6db8609d31e06898e42ec Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Fri, 18 Jul 2025 17:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4md5=E6=A0=A1=E9=AA=8C?= =?UTF-8?q?=EF=BC=8C=E4=BA=A4=E7=94=B1=E5=89=8D=E7=AB=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/common/service/AuthService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }