Skip to content

Commit a0f492d

Browse files
authored
Make ACME email optional (#35849)
Fix a regression from #33668 Fix #35847
1 parent 206f4c8 commit a0f492d

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)