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;
             }