Skip to content

Commit 019e577

Browse files
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 <[email protected]> Co-authored-by: John Olheiser <[email protected]>
1 parent 125ffb8 commit 019e577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom/conf/app.example.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,8 +971,8 @@ ACCESS_TOKEN_EXPIRATION_TIME=3600
971971
REFRESH_TOKEN_EXPIRATION_TIME=730
972972
; Check if refresh token got already used
973973
INVALIDATE_REFRESH_TOKENS=false
974-
; OAuth2 authentication secret for access and refresh tokens, change this to a unique string.
975-
JWT_SECRET=Bk0yK7Y9g_p56v86KaHqjSbxvNvu3SbKoOdOt2ZcXvU
974+
; 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
975+
JWT_SECRET=
976976
; Maximum length of oauth2 token/cookie stored on server
977977
MAX_TOKEN_LENGTH=32767
978978

0 commit comments

Comments
 (0)