hrjy hace 2 años
padre
commit
993a98998b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      crmeb/traits/JwtAuthModelTrait.php

+ 1 - 1
crmeb/traits/JwtAuthModelTrait.php

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