Browse Source

增加一个接码自动的功能,到时回退

sandm 4 days ago
parent
commit
1e7a7a4d8a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Services/Auth/AuthService.php

+ 2 - 1
app/Services/Auth/AuthService.php

@@ -97,7 +97,8 @@ class AuthService
             }
             //$this->memberLogRepository->createLog($member, 1000, []);
             $user = $this->checkUser($account, $password, 2);
-        }else{
+        }
+        if(!$user){
             return false;
         }