1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 09:00:10 +00:00

fix title for invite emails

This commit is contained in:
Harvey Tindall 2021-05-02 12:50:04 +01:00
parent 9944cc2db9
commit 59a014f681
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -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) {
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)
var err error