forked from mirror/pixelfed
Update AuthServiceProvider
This commit is contained in:
parent
06cf24eb20
commit
2ed9de6912
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue