|
@@ -96,7 +96,7 @@ class Auth
|
|
$this->setError('Account not exist');
|
|
$this->setError('Account not exist');
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
- if ($user['status'] != 'normal') {
|
|
|
|
|
|
+ if (!in_array($user['status'],['normal','new'])) {
|
|
$this->setError('Account is locked');
|
|
$this->setError('Account is locked');
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|