aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/lfs.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/lfs.go')
-rw-r--r--modules/setting/lfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/lfs.go b/modules/setting/lfs.go
index 4d9424f997..0e0f7b74e3 100644
--- a/modules/setting/lfs.go
+++ b/modules/setting/lfs.go
@@ -53,7 +53,7 @@ func loadLFSFrom(rootCfg ConfigProvider) error {
return nil
}
- 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")
LFS.JWTSecretBytes = make([]byte, 32)
n, err := base64.RawURLEncoding.Decode(LFS.JWTSecretBytes, []byte(LFS.JWTSecretBase64))