diff options
author | zeripath <art27@cantab.net> | 2020-08-29 21:02:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 23:02:38 +0300 |
commit | 9abc16a280ca43b5b7007d0c9f292b0fffa46a4b (patch) | |
tree | 4819eccebb47774e9f1639da2e41bd78fa83ccc4 /custom | |
parent | 7187fdbb1c5ddf3258269b1bab4a4bf357f03981 (diff) | |
download | gitea-9abc16a280ca43b5b7007d0c9f292b0fffa46a4b.tar.gz gitea-9abc16a280ca43b5b7007d0c9f292b0fffa46a4b.zip |
fix documentation for REFRESH_TOKEN_EXPIRATION_TIME (#12642)
REFRESH_TOKEN_EXPIRATION_TIME refers to the refresh token not the access token
Fix #12641
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 607041527c..4601ece0aa 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -967,7 +967,7 @@ DEFAULT_MAX_BLOB_SIZE = 10485760 ENABLE = true ; Lifetime of an OAuth2 access token in seconds ACCESS_TOKEN_EXPIRATION_TIME=3600 -; Lifetime of an OAuth2 access token in hours +; Lifetime of an OAuth2 refresh token in hours REFRESH_TOKEN_EXPIRATION_TIME=730 ; Check if refresh token got already used INVALIDATE_REFRESH_TOKENS=false |