From 59606791a7b18b0a80626d5ec7f05b90b51c779d Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 29 Mar 2018 14:20:36 -0700 Subject: MM-9999 Fix unwanted team invite_id in email invites. (#8550) * Fix unwanted team invite_id in email invites. * Removing unused translation. --- app/email.go | 1 - 1 file changed, 1 deletion(-) (limited to 'app/email.go') diff --git a/app/email.go b/app/email.go index 8ee3e79e2..7676dfe13 100644 --- a/app/email.go +++ b/app/email.go @@ -276,7 +276,6 @@ func (a *App) SendInviteEmails(team *model.Team, senderName string, invites []st props["display_name"] = team.DisplayName props["name"] = team.Name props["time"] = fmt.Sprintf("%v", model.GetMillis()) - props["invite_id"] = team.InviteId data := model.MapToJson(props) hash := utils.HashSha256(fmt.Sprintf("%v:%v", data, a.Config().EmailSettings.InviteSalt)) bodyPage.Props["Link"] = fmt.Sprintf("%s/signup_user_complete/?d=%s&h=%s", siteURL, url.QueryEscape(data), url.QueryEscape(hash)) -- cgit v1.2.3-1-g7c22