Final work password reset email, Closes #1456

This commit is contained in:
Torkel Ödegaard
2015-06-08 18:25:04 +02:00
parent 95fd34ed14
commit bb2d810709
4 changed files with 8 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ type SmtpSettings struct {
SkipVerify bool
SendWelcomeEmailOnSignUp bool
TemplatesPattern string
}
func readSmtpSettings() {
@@ -26,4 +27,5 @@ func readSmtpSettings() {
emails := Cfg.Section("emails")
Smtp.SendWelcomeEmailOnSignUp = emails.Key("welcome_email_on_sign_up").MustBool(false)
Smtp.TemplatesPattern = emails.Key("templates_pattern").MustString("emails/*.html")
}