yingzi %!s(int64=2) %!d(string=hai) anos
pai
achega
c7c696261e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      library/traits/JwtAuthModelTrait.php

+ 1 - 1
library/traits/JwtAuthModelTrait.php

@@ -39,7 +39,7 @@ trait JwtAuthModelTrait
             'aud' => $host,
             'iat' => $time,
             'nbf' => $time,
-            'exp' => strtotime('+ 3hour'),
+            'exp' => strtotime('+ 12hour'),
         ];
         $params['jti'] = compact('id', 'type');
         $token = JWT::encode($params, Env::get('app.app_key', 'default'));