Explorar o código

增加密码过期机制

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

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

@@ -302,7 +302,7 @@ class AuthService
         );
         if(count($pwdLog) >= 1){
             $log = reset($pwdLog);
-            $time = strtotime($log->created_at);
+            $time = strtotime($log['created_at']);
         }else{
             $time = 0;
         }