Update AuthServiceProvider

This commit is contained in:
Daniel Supernault 2018-12-31 22:48:45 -07:00
parent 06cf24eb20
commit 2ed9de6912
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -25,10 +25,10 @@ class AuthServiceProvider extends ServiceProvider
{ {
$this->registerPolicies(); $this->registerPolicies();
Passport::routes(); // Passport::routes();
Passport::tokensExpireIn(now()->addDays(15)); // Passport::tokensExpireIn(now()->addDays(15));
Passport::refreshTokensExpireIn(now()->addDays(30)); // Passport::refreshTokensExpireIn(now()->addDays(30));
} }
} }