forked from mirror/pixelfed
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' => [
|
||||
'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),
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue