summaryrefslogtreecommitdiffstats
path: root/cmd/generate.go
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 /cmd/generate.go
parente255df83a66c65cc5d06bf5a915c502197141b58 (diff)
downloadgitea-897927690f5708d48f11dcd4f29358fbc98851bd.tar.gz
gitea-897927690f5708d48f11dcd4f29358fbc98851bd.zip
Rename LFS_JWT_SECRET to include OAUTH2 as well (#6826)
Diffstat (limited to 'cmd/generate.go')
-rw-r--r--cmd/generate.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/generate.go b/cmd/generate.go
index e7071706e9..4e91b1d3f0 100644
--- a/cmd/generate.go
+++ b/cmd/generate.go
@@ -40,9 +40,10 @@ var (
}
microcmdGenerateLfsJwtSecret = cli.Command{
- Name: "LFS_JWT_SECRET",
- Usage: "Generate a new LFS_JWT_SECRET",
- Action: runGenerateLfsJwtSecret,
+ Name: "JWT_SECRET",
+ Aliases: []string{"LFS_JWT_SECRET"},
+ Usage: "Generate a new JWT_SECRET",
+ Action: runGenerateLfsJwtSecret,
}
microcmdGenerateSecretKey = cli.Command{