From d2b556aa77cc8e8f7d7aef340950fb632fba2aa6 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 17 May 2016 15:52:03 -0400 Subject: Removed check of email signup from creating a team (#3029) --- api/team.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'api') diff --git a/api/team.go b/api/team.go index 52d01b1cc..3ed9b70af 100644 --- a/api/team.go +++ b/api/team.go @@ -222,11 +222,6 @@ func createTeam(c *Context, w http.ResponseWriter, r *http.Request) { } func CreateTeam(c *Context, team *model.Team) *model.Team { - if !utils.Cfg.EmailSettings.EnableSignUpWithEmail { - c.Err = model.NewLocAppError("createTeam", "api.team.create_team.email_disabled.app_error", nil, "") - c.Err.StatusCode = http.StatusForbidden - return nil - } if team == nil { c.SetInvalidParam("createTeam", "team") -- cgit v1.2.3-1-g7c22