fix: disable mail by default, resolve #2404 (#2405)

This commit is contained in:
Ellie Huxtable 2024-10-02 17:40:37 -07:00 committed by GitHub
parent 28c7026aec
commit c7447e84da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,6 +104,7 @@ impl<DbSettings: DeserializeOwned> Settings<DbSettings> {
.set_default("metrics.enable", false)? .set_default("metrics.enable", false)?
.set_default("metrics.host", "127.0.0.1")? .set_default("metrics.host", "127.0.0.1")?
.set_default("metrics.port", 9001)? .set_default("metrics.port", 9001)?
.set_default("mail.enable", false)?
.set_default("tls.enable", false)? .set_default("tls.enable", false)?
.set_default("tls.cert_path", "")? .set_default("tls.cert_path", "")?
.set_default("tls.pkey_path", "")? .set_default("tls.pkey_path", "")?