summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/setting/setting.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 3f3393f66c..882f565411 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -741,8 +741,8 @@ func NewContext() {
}
UnixSocketPermission = uint32(UnixSocketPermissionParsed)
}
- EnableLetsEncrypt := sec.Key("ENABLE_LETSENCRYPT").MustBool(false)
- LetsEncryptTOS := sec.Key("LETSENCRYPT_ACCEPTTOS").MustBool(false)
+ EnableLetsEncrypt = sec.Key("ENABLE_LETSENCRYPT").MustBool(false)
+ LetsEncryptTOS = sec.Key("LETSENCRYPT_ACCEPTTOS").MustBool(false)
if !LetsEncryptTOS && EnableLetsEncrypt {
log.Warn("Failed to enable Let's Encrypt due to Let's Encrypt TOS not being accepted")
EnableLetsEncrypt = false