Commit d2b556aa authored by Harrison Healey's avatar Harrison Healey Committed by Christopher Speller
Browse files

Removed check of email signup from creating a team (#3029)

parent 50454bc8
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment