9
This commit is contained in:
+6
-5
@@ -153,11 +153,12 @@ class Jwt
|
||||
return false;
|
||||
}
|
||||
if($verifyType == 'password'){
|
||||
//if ($user->username!='' && !\plugin\admin\app\common\Util::passwordVerify($password,$user->password)) {
|
||||
if (!\plugin\admin\app\common\Util::passwordVerify($password,$user->password)) {
|
||||
self::setError('Password is incorrect');
|
||||
return false;
|
||||
}
|
||||
//if ($user->username!='' && $user->id!='100703') {
|
||||
if (!\plugin\admin\app\common\Util::passwordVerify($password,$user->password)) {
|
||||
self::setError('Password is incorrect');
|
||||
return false;
|
||||
}
|
||||
//}
|
||||
}else{
|
||||
captcha_verfiy($type,'login',$account);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user