summaryrefslogtreecommitdiffstats
path: root/api/team.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-07-12 23:36:52 -0800
committer=Corey Hulen <corey@hulen.com>2015-07-12 23:36:52 -0800
commit252d0f3924dd19aa4dd1900c6c00c41c84755d1e (patch)
tree3d761e220c5e32aafedb7c17b198ec8215aec6d4 /api/team.go
parent27cab0f507d253bba5658335f42a4c7675fcdac7 (diff)
downloadchat-252d0f3924dd19aa4dd1900c6c00c41c84755d1e.tar.gz
chat-252d0f3924dd19aa4dd1900c6c00c41c84755d1e.tar.bz2
chat-252d0f3924dd19aa4dd1900c6c00c41c84755d1e.zip
Fixes mm-1415 adding email bypass flag
Diffstat (limited to 'api/team.go')
-rw-r--r--api/team.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/team.go b/api/team.go
index c4a0ca181..f9aeecd7e 100644
--- a/api/team.go
+++ b/api/team.go
@@ -68,7 +68,7 @@ func signupTeam(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- if utils.Cfg.ServiceSettings.Mode == utils.MODE_DEV {
+ if utils.Cfg.ServiceSettings.Mode == utils.MODE_DEV || utils.Cfg.EmailSettings.ByPassEmail {
m["follow_link"] = bodyPage.Props["Link"]
}