diff options
author | Elias Nahum <nahumhbl@gmail.com> | 2016-02-10 15:20:51 -0300 |
---|---|---|
committer | Elias Nahum <nahumhbl@gmail.com> | 2016-02-10 15:20:51 -0300 |
commit | 7476bc9883eaf182594e78b3f6403ec76b6a2899 (patch) | |
tree | 7d0d04ad56da6ecd362170a464d49486a89baefb /api | |
parent | a15f8c582dd5c9371cce20e572d0552970afbadd (diff) | |
download | chat-7476bc9883eaf182594e78b3f6403ec76b6a2899.tar.gz chat-7476bc9883eaf182594e78b3f6403ec76b6a2899.tar.bz2 chat-7476bc9883eaf182594e78b3f6403ec76b6a2899.zip |
Fix change email subject
Diffstat (limited to 'api')
-rw-r--r-- | api/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go index 8f381aeda..0e2ce45bf 100644 --- a/api/user.go +++ b/api/user.go @@ -1761,7 +1761,7 @@ func sendEmailChangeEmailAndForget(c *Context, oldEmail, newEmail, teamDisplayNa go func() { subjectPage := NewServerTemplatePage("email_change_subject", c.Locale) - subjectPage.Props["Subject"] = c.T("api.templates.email_change_body", + subjectPage.Props["Subject"] = c.T("api.templates.email_change_subject", map[string]interface{}{"TeamDisplayName": teamDisplayName}) bodyPage := NewServerTemplatePage("email_change_body", c.Locale) |