From 7de7de6ad0882ef25ed9be5bbd91576cc822206f Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Mon, 31 Aug 2015 13:33:22 -0700 Subject: MM-2056 fixes problem with creating team --- api/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/user.go') diff --git a/api/user.go b/api/user.go index 3796dde2a..d69244fad 100644 --- a/api/user.go +++ b/api/user.go @@ -58,7 +58,7 @@ func InitUser(r *mux.Router) { } func createUser(c *Context, w http.ResponseWriter, r *http.Request) { - if !utils.Cfg.ServiceSettings.AllowEmailSignUp { + if utils.Cfg.ServiceSettings.DisableEmailSignUp { c.Err = model.NewAppError("signupTeam", "User sign-up with email is disabled.", "") c.Err.StatusCode = http.StatusNotImplemented return -- cgit v1.2.3-1-g7c22