Browse Source

更新密码过期功能

sandm 3 years ago
parent
commit
7c4ee58cba
1 changed files with 2 additions and 2 deletions
  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(