|
@@ -105,6 +105,10 @@ class Authworker
|
|
|
$this->setError('Account not exist');
|
|
|
return false;
|
|
|
}
|
|
|
+ if ($user->status == -1) {
|
|
|
+ $this->setError('账号已注销');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
if ($user->status != 1) {
|
|
|
$this->setError('Account is locked');
|
|
|
return false;
|
|
@@ -260,6 +264,10 @@ class Authworker
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ if ($user->status == -1) {
|
|
|
+ $this->setError('账号已注销');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
if ($user->status != 1) {
|
|
|
$this->setError('Account is locked');
|
|
|
return false;
|