1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-22 15:55:14 +00:00

Update instance config, match default oauth settings in AuthServiceProvider

This commit is contained in:
Daniel Supernault 2022-02-17 18:31:28 -07:00
parent b4998b8bdd
commit 52f25ff109
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -61,8 +61,8 @@ return [
],
'oauth' => [
'token_expiration' => env('OAUTH_TOKEN_DAYS', 15),
'refresh_expiration' => env('OAUTH_REFRESH_DAYS', 30),
'token_expiration' => env('OAUTH_TOKEN_DAYS', 365),
'refresh_expiration' => env('OAUTH_REFRESH_DAYS', 400),
'pat' => [
'enabled' => env('OAUTH_PAT_ENABLED', false),
'id' => env('OAUTH_PAT_ID'),
@ -77,5 +77,5 @@ return [
]
],
'enable_cc' => env('ENABLE_CONFIG_CACHE', false)
'enable_cc' => env('ENABLE_CONFIG_CACHE', false),
];