summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortechknowlogick <hello@techknowlogick.com>2019-05-01 22:32:06 -0400
committerGitHub <noreply@github.com>2019-05-01 22:32:06 -0400
commit897927690f5708d48f11dcd4f29358fbc98851bd (patch)
tree0d892deb4e39734f9d3c5aa4e8659e41e00b2325 /docs
parente255df83a66c65cc5d06bf5a915c502197141b58 (diff)
downloadgitea-897927690f5708d48f11dcd4f29358fbc98851bd.tar.gz
gitea-897927690f5708d48f11dcd4f29358fbc98851bd.zip
Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/usage/command-line.en-us.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md
index 021283f9cc..9959ac30ab 100644
--- a/docs/content/doc/usage/command-line.en-us.md
+++ b/docs/content/doc/usage/command-line.en-us.md
@@ -161,11 +161,11 @@ for automatic deployments.
- `secret`:
- Options:
- `INTERNAL_TOKEN`: Token used for an internal API call authentication.
- - `LFS_JWT_SECRET`: LFS authentication secret.
+ - `JWT_SECRET`: LFS & OAUTH2 JWT authentication secret (LFS_JWT_SECRET is aliased to this option for backwards compatibility).
- `SECRET_KEY`: Global secret key.
- Examples:
- `gitea generate secret INTERNAL_TOKEN`
- - `gitea generate secret LFS_JWT_SECRET`
+ - `gitea generate secret JWT_SECRET`
- `gitea generate secret SECRET_KEY`
#### keys