From cd96d299eb782efe752531ba512227940cfccd20 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 27 Apr 2020 12:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/UserService.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Base/Service/UserService.class.php b/Application/Base/Service/UserService.class.php index 35468b3c..9011673c 100644 --- a/Application/Base/Service/UserService.class.php +++ b/Application/Base/Service/UserService.class.php @@ -88,7 +88,7 @@ class UserService if (empty($user) || $user['lock_status'] != 1 && $user['check_status'] != 1) { return ['status' => false, 'message' => '账号或密码错误']; } - if ($this->password($password, UC_AUTH_KEY) === $user['password']) { + if ($this->password($password, UC_AUTH_KEY) !== $user['password']) { return ['status' => false, 'message' => '密码错误']; }