up. ws update.
This commit is contained in:
parent
0ba41913f3
commit
e9187a8ef2
@ -55,7 +55,7 @@ class AuthController extends BaseController
|
||||
if($clientModel && $clientModel['is_lock']) {
|
||||
if (empty($clientModel['lock_password'])) {
|
||||
if(!password_verify($password, $this->auth->getUser()->password)) {
|
||||
return $this->writeError('密码错误');
|
||||
return $this->writeError('密码错误', $this->auth->getUser());
|
||||
}
|
||||
}else{
|
||||
if($clientModel['lock_password'] !== $password) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user