mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-12 01:30:34 +01:00
Backport #35849 by @wxiaoguang Fix a regression from #33668 Fix #35847 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
297f63af42
commit
7ea9722c1d
@ -235,9 +235,6 @@ func loadServerFrom(rootCfg ConfigProvider) {
|
|||||||
deprecatedSetting(rootCfg, "server", "LETSENCRYPT_EMAIL", "server", "ACME_EMAIL", "v1.19.0")
|
deprecatedSetting(rootCfg, "server", "LETSENCRYPT_EMAIL", "server", "ACME_EMAIL", "v1.19.0")
|
||||||
AcmeEmail = sec.Key("LETSENCRYPT_EMAIL").MustString("")
|
AcmeEmail = sec.Key("LETSENCRYPT_EMAIL").MustString("")
|
||||||
}
|
}
|
||||||
if AcmeEmail == "" {
|
|
||||||
log.Fatal("ACME Email is not set (ACME_EMAIL).")
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
CertFile = sec.Key("CERT_FILE").String()
|
CertFile = sec.Key("CERT_FILE").String()
|
||||||
KeyFile = sec.Key("KEY_FILE").String()
|
KeyFile = sec.Key("KEY_FILE").String()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user