mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 17:26:43 +00:00
748a3be46d
Previously, the lifetime of tokens and refresh tokens was hardcoded at 15 and 30 days. Some instances administrators may wish to change these values. This makes these two values configurable with the two .env variables: OAUTH_TOKEN_DAYS and OAUTH_REFRESH_DAYS which are the lifetime in days for these two tokens and refresh tokens. |
||
---|---|---|
.. | ||
AppServiceProvider.php | ||
AuthServiceProvider.php | ||
BroadcastServiceProvider.php | ||
EventServiceProvider.php | ||
HorizonServiceProvider.php | ||
RouteServiceProvider.php |