소스 검색

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

sandm 1 주 전
부모
커밋
1e7a7a4d8a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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;
         }