Explorar o código

更新密码过期功能

sandm %!s(int64=3) %!d(string=hai) anos
pai
achega
7c4ee58cba
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Services/Auth/AuthService.php

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

@@ -311,8 +311,8 @@ class AuthService
         }else{
             $reg_time = 0;
         }
-        if((time()-$reg_time)>7776000){
-            return false;
+        if((time()-$reg_time)<7776000){
+            return true;
         }
 
         $pwdLog = $this->memberLogRepository->getMemberLog(