diff options
author | Marvin Borner | 2018-08-17 18:44:54 +0200 |
---|---|---|
committer | Marvin Borner | 2018-08-17 18:44:54 +0200 |
commit | 3045cb39be8b9c9cb3ca6ed643ccceac0042f0c0 (patch) | |
tree | 02a48906b0d7c45c1728504ab56b0fbd37fb206b /infrastructure | |
parent | 0db627a954fffb42617ff3ecc9e3d56d24a5bb3f (diff) |
Extended lifetime of token
Diffstat (limited to 'infrastructure')
-rw-r--r-- | infrastructure/Auth/AuthServiceProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/Auth/AuthServiceProvider.php b/infrastructure/Auth/AuthServiceProvider.php index 66e0d78..7f09b7d 100644 --- a/infrastructure/Auth/AuthServiceProvider.php +++ b/infrastructure/Auth/AuthServiceProvider.php @@ -34,7 +34,7 @@ class AuthServiceProvider extends ServiceProvider $router->forTransientTokens(); }); - Passport::tokensExpireIn(Carbon::now()->addDays(365)); + Passport::tokensExpireIn(Carbon::now()->addYears(10)); Passport::refreshTokensExpireIn(Carbon::now()->addDays(365)); } |