diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-11-05 08:59:29 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-11-05 08:59:29 -0500 |
commit | 23d6cfe4d8e35f5b9d3794af8d7327e1acccd5fa (patch) | |
tree | 50b55ee90478e5476193ee45af4cbaed9a2260af /api/team.go | |
parent | 40eea5b5e31c807345b7e33e0faedbf8d00eab93 (diff) | |
download | chat-23d6cfe4d8e35f5b9d3794af8d7327e1acccd5fa.tar.gz chat-23d6cfe4d8e35f5b9d3794af8d7327e1acccd5fa.tar.bz2 chat-23d6cfe4d8e35f5b9d3794af8d7327e1acccd5fa.zip |
Don't send welcome emails for users signing up from an email invite, update email content
Diffstat (limited to 'api/team.go')
-rw-r--r-- | api/team.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/api/team.go b/api/team.go index 7d746d922..862970887 100644 --- a/api/team.go +++ b/api/team.go @@ -510,16 +510,14 @@ func InviteMembers(c *Context, team *model.Team, user *model.User, invites []str } subjectPage := NewServerTemplatePage("invite_subject") - subjectPage.Props["SiteURL"] = c.GetSiteURL() subjectPage.Props["SenderName"] = sender subjectPage.Props["TeamDisplayName"] = team.DisplayName bodyPage := NewServerTemplatePage("invite_body") - bodyPage.Props["SiteURL"] = c.GetSiteURL() + bodyPage.Props["TeamURL"] = c.GetTeamURL() bodyPage.Props["TeamDisplayName"] = team.DisplayName bodyPage.Props["SenderName"] = sender bodyPage.Props["SenderStatus"] = senderRole - bodyPage.Props["Email"] = invite props := make(map[string]string) props["email"] = invite props["id"] = team.Id |