Sfoglia il codice sorgente

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

sandm 1 settimana fa
parent
commit
1e7a7a4d8a
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;
         }