up. ws update.

This commit is contained in:
扶桑花间 2025-08-28 23:12:57 +08:00
parent e9187a8ef2
commit 05d350631a

View File

@ -54,8 +54,8 @@ class AuthController extends BaseController
])->find(); ])->find();
if($clientModel && $clientModel['is_lock']) { if($clientModel && $clientModel['is_lock']) {
if (empty($clientModel['lock_password'])) { if (empty($clientModel['lock_password'])) {
if(!password_verify($password, $this->auth->getUser()->password)) { if(!password_verify($password, $this->auth->getUser()->get('password'))) {
return $this->writeError('密码错误', $this->auth->getUser()); return $this->writeError('密码错误');
} }
}else{ }else{
if($clientModel['lock_password'] !== $password) { if($clientModel['lock_password'] !== $password) {