summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-08-24 17:49:26 -0400
committerGitHub <noreply@github.com>2020-08-24 17:49:26 -0400
commit019e577d54bc16c13488eb44e08a74bb9c3c66e7 (patch)
tree89ab90ceb82537a8c3fa80c72b353f83d1d36929 /custom
parent125ffb87f0d14b75f89acf2a47dc13c0f6577774 (diff)
downloadgitea-019e577d54bc16c13488eb44e08a74bb9c3c66e7.tar.gz
gitea-019e577d54bc16c13488eb44e08a74bb9c3c66e7.zip
Update JWT docs in example config (#12591)
* Update JWT docs in example config align with way we have `LFS_JWT_SECRET` in config Fix #12590 * Update custom/conf/app.example.ini Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 8d4636bfe4..607041527c 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -971,8 +971,8 @@ ACCESS_TOKEN_EXPIRATION_TIME=3600
REFRESH_TOKEN_EXPIRATION_TIME=730
; Check if refresh token got already used
INVALIDATE_REFRESH_TOKENS=false
-; OAuth2 authentication secret for access and refresh tokens, change this to a unique string.
-JWT_SECRET=Bk0yK7Y9g_p56v86KaHqjSbxvNvu3SbKoOdOt2ZcXvU
+; OAuth2 authentication secret for access and refresh tokens, change this yourself to a unique string. CLI generate option is helpful in this case. https://docs.gitea.io/en-us/command-line/#generate
+JWT_SECRET=
; Maximum length of oauth2 token/cookie stored on server
MAX_TOKEN_LENGTH=32767