summaryrefslogtreecommitdiffstats
path: root/api/user.go
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-02-10 16:26:32 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-02-10 16:26:32 -0300
commitd5c666ec12d8156be0d31985202b8a5b4c20c6e4 (patch)
tree9d3329d89ac7c7650a12422edbfe2e3b30e31448 /api/user.go
parent7476bc9883eaf182594e78b3f6403ec76b6a2899 (diff)
downloadchat-d5c666ec12d8156be0d31985202b8a5b4c20c6e4.tar.gz
chat-d5c666ec12d8156be0d31985202b8a5b4c20c6e4.tar.bz2
chat-d5c666ec12d8156be0d31985202b8a5b4c20c6e4.zip
Change body info from String to HTML
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 0e2ce45bf..faa282796 100644
--- a/api/user.go
+++ b/api/user.go
@@ -1767,7 +1767,7 @@ func sendEmailChangeEmailAndForget(c *Context, oldEmail, newEmail, teamDisplayNa
bodyPage := NewServerTemplatePage("email_change_body", c.Locale)
bodyPage.Props["SiteURL"] = siteURL
bodyPage.Props["Title"] = c.T("api.templates.email_change_body.title")
- bodyPage.Props["Info"] = c.T("api.templates.email_change_body.info",
+ bodyPage.Html["Info"] = c.T("api.templates.email_change_body.info",
map[string]interface{}{"TeamDisplayName": teamDisplayName, "NewEmail": newEmail})
if err := utils.SendMail(oldEmail, subjectPage.Render(), bodyPage.Render()); err != nil {