fix title for invite emails

pull/97/head
Harvey Tindall 4 years ago
parent 9944cc2db9
commit 59a014f681
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -340,7 +340,7 @@ func (emailer *Emailer) inviteValues(code string, invite Invite, app *appContext
func (emailer *Emailer) constructInvite(code string, invite Invite, app *appContext, noSub bool) (*Email, error) { func (emailer *Emailer) constructInvite(code string, invite Invite, app *appContext, noSub bool) (*Email, error) {
email := &Email{ email := &Email{
Subject: app.config.Section("email_confirmation").Key("subject").MustString(emailer.lang.InviteEmail.get("title")), Subject: app.config.Section("invite_emails").Key("subject").MustString(emailer.lang.InviteEmail.get("title")),
} }
template := emailer.inviteValues(code, invite, app, noSub) template := emailer.inviteValues(code, invite, app, noSub)
var err error var err error

Loading…
Cancel
Save