summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-02-10 15:20:51 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-02-10 15:20:51 -0300
commit7476bc9883eaf182594e78b3f6403ec76b6a2899 (patch)
tree7d0d04ad56da6ecd362170a464d49486a89baefb /api/user.go
parenta15f8c582dd5c9371cce20e572d0552970afbadd (diff)
downloadchat-7476bc9883eaf182594e78b3f6403ec76b6a2899.tar.gz
chat-7476bc9883eaf182594e78b3f6403ec76b6a2899.tar.bz2
chat-7476bc9883eaf182594e78b3f6403ec76b6a2899.zip
Fix change email subject
Diffstat (limited to 'api/user.go')
-rw-r--r--api/user.go2
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)