去除md5校验,交由前端处理

This commit is contained in:
wong
2025-07-18 17:17:28 +08:00
parent 530b038748
commit e07d834ad6

View File

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