代码提交

This commit is contained in:
wong
2025-07-19 14:59:43 +08:00
parent 96a5c32286
commit de35417b23
2 changed files with 2 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ class AuthService
throw new \Exception('用户不存在或已禁用', 403);
}
if ($user->passwordMd5 !== $password) {
if ($user->passwordMd5 !== md5($password)) {
throw new \Exception('账号或密码错误', 403);
}