Explorar el Código

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

sandm hace 6 días
padre
commit
1e7a7a4d8a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;
         }