pull/4360/head
Daniel Supernault 2 years ago
parent 637cdca27a
commit add5eaf094
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -24,7 +24,7 @@ class AuthServiceProvider extends ServiceProvider
*/
public function boot()
{
if(config('app.env') === 'production' && config_cache('pixelfed.oauth_enabled') == true) {
if(config('app.env') === 'production' && config('pixelfed.oauth_enabled') == true) {
Passport::tokensExpireIn(now()->addDays(config('instance.oauth.token_expiration', 356)));
Passport::refreshTokensExpireIn(now()->addDays(config('instance.oauth.refresh_expiration', 400)));
Passport::enableImplicitGrant();

Loading…
Cancel
Save