dever 6 years ago
parent
commit
5586cb0223
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Api.php

+ 1 - 1
src/Api.php

@@ -136,7 +136,7 @@ class Api
 			Dever::alert('没有账户信息');
 		}
 
-		if (!$this->uid || !$this->username) {
+		if (!$this->uid) {
 			Dever::alert('没有用户信息');
 		}