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();
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) {