aboutsummaryrefslogtreecommitdiffhomepage
path: root/infrastructure
diff options
context:
space:
mode:
authorMarvin Borner2018-08-17 18:44:54 +0200
committerMarvin Borner2018-08-17 18:44:54 +0200
commit3045cb39be8b9c9cb3ca6ed643ccceac0042f0c0 (patch)
tree02a48906b0d7c45c1728504ab56b0fbd37fb206b /infrastructure
parent0db627a954fffb42617ff3ecc9e3d56d24a5bb3f (diff)
Extended lifetime of token
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/Auth/AuthServiceProvider.php2
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));
}