We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
LFS_JWT_SECRET
1 parent d0bdfbc commit 862f748Copy full SHA for 862f748
modules/setting/lfs.go
@@ -53,7 +53,7 @@ func loadLFSFrom(rootCfg ConfigProvider) error {
53
return nil
54
}
55
56
- LFS.JWTSecretBase64 = loadSecret(rootCfg.Section("lfs"), "LFS_JWT_SECRET_URI", "LFS_JWT_SECRET")
+ LFS.JWTSecretBase64 = loadSecret(rootCfg.Section("server"), "LFS_JWT_SECRET_URI", "LFS_JWT_SECRET")
57
58
LFS.JWTSecretBytes = make([]byte, 32)
59
n, err := base64.RawURLEncoding.Decode(LFS.JWTSecretBytes, []byte(LFS.JWTSecretBase64))
0 commit comments