feat: Add SMTP authentication types to settings

This commit is contained in:
Stefan Schokker
2023-10-14 14:29:34 +02:00
parent 2c8afecfbb
commit 85de1c97ff
3 changed files with 21 additions and 3 deletions
+1
View File
@@ -76,6 +76,7 @@ func (app *appContext) loadConfig() error {
app.MustSetValue("smtp", "hello_hostname", "localhost")
app.MustSetValue("smtp", "cert_validation", "true")
app.MustSetValue("smtp", "auth_type", "4")
sc := app.config.Section("discord").Key("start_command").MustString("start")
app.config.Section("discord").Key("start_command").SetValue(strings.TrimPrefix(strings.TrimPrefix(sc, "/"), "!"))