zhangxiaobin 1 年之前
父節點
當前提交
f025050a91
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
             }