feat: refresh token validity

This commit is contained in:
2025-02-12 14:34:11 +01:00
parent 8ffd4d33be
commit 0bbac9ed9c
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -67,6 +67,11 @@ SECRET_SECRET_KEY_VERSION=v1 # length=64
# GITEA_ACCOUNT_LINKING=replace-me
# GITEA_OAUTH2_CLIENT_ENABLED=replace-me
# Lifetime of an OAuth2 refresh token in hours, prolly no need to edit. We
# were hitting issues with infrequently pushed to repos that were not picked
# up by drone after a month of inactivity, hence the option.
# GITEA__oauth2__REFRESH_TOKEN_EXPIRATION_TIME=730
# Indexer (for issue search)
# GITEA_REPO_INDEXER_ENABLED=false
# GITEA_ISSUE_INDEXER_TYPE=db