Skip to content

Commit 7ea9722

Browse files
GiteaBotwxiaoguang
andauthored
Make ACME email optional (#35849) (#35857)
Backport #35849 by @wxiaoguang Fix a regression from #33668 Fix #35847 Co-authored-by: wxiaoguang <[email protected]>
1 parent 297f63a commit 7ea9722

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/setting/server.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@ func loadServerFrom(rootCfg ConfigProvider) {
235235
deprecatedSetting(rootCfg, "server", "LETSENCRYPT_EMAIL", "server", "ACME_EMAIL", "v1.19.0")
236236
AcmeEmail = sec.Key("LETSENCRYPT_EMAIL").MustString("")
237237
}
238-
if AcmeEmail == "" {
239-
log.Fatal("ACME Email is not set (ACME_EMAIL).")
240-
}
241238
} else {
242239
CertFile = sec.Key("CERT_FILE").String()
243240
KeyFile = sec.Key("KEY_FILE").String()

0 commit comments

Comments
 (0)