mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update instance config, match default oauth settings in AuthServiceProvider
This commit is contained in:
parent
b4998b8bdd
commit
52f25ff109
1 changed files with 3 additions and 3 deletions
|
@ -61,8 +61,8 @@ return [
|
||||||
],
|
],
|
||||||
|
|
||||||
'oauth' => [
|
'oauth' => [
|
||||||
'token_expiration' => env('OAUTH_TOKEN_DAYS', 15),
|
'token_expiration' => env('OAUTH_TOKEN_DAYS', 365),
|
||||||
'refresh_expiration' => env('OAUTH_REFRESH_DAYS', 30),
|
'refresh_expiration' => env('OAUTH_REFRESH_DAYS', 400),
|
||||||
'pat' => [
|
'pat' => [
|
||||||
'enabled' => env('OAUTH_PAT_ENABLED', false),
|
'enabled' => env('OAUTH_PAT_ENABLED', false),
|
||||||
'id' => env('OAUTH_PAT_ID'),
|
'id' => env('OAUTH_PAT_ID'),
|
||||||
|
@ -77,5 +77,5 @@ return [
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
'enable_cc' => env('ENABLE_CONFIG_CACHE', false)
|
'enable_cc' => env('ENABLE_CONFIG_CACHE', false),
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue