zhangxiaobin 1 year ago
parent
commit
f025050a91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/library/Auth.php

+ 1 - 1
application/common/library/Auth.php

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