hrjy 2 years ago
parent
commit
993a98998b
1 changed files with 1 additions and 1 deletions
  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'));