From 05d350631a2ce20dd24b886b331e1b2f044a32c3 Mon Sep 17 00:00:00 2001 From: v Date: Thu, 28 Aug 2025 23:12:57 +0800 Subject: [PATCH] up. ws update. --- app/controller/admin/auth/AuthController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/admin/auth/AuthController.php b/app/controller/admin/auth/AuthController.php index b12b875..b90d24e 100644 --- a/app/controller/admin/auth/AuthController.php +++ b/app/controller/admin/auth/AuthController.php @@ -54,8 +54,8 @@ class AuthController extends BaseController ])->find(); if($clientModel && $clientModel['is_lock']) { if (empty($clientModel['lock_password'])) { - if(!password_verify($password, $this->auth->getUser()->password)) { - return $this->writeError('密码错误', $this->auth->getUser()); + if(!password_verify($password, $this->auth->getUser()->get('password'))) { + return $this->writeError('密码错误'); } }else{ if($clientModel['lock_password'] !== $password) {