diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-09-01 08:49:54 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-01 08:49:54 -0400 |
commit | 72575ac7bdd5bfe7bd544ba238f8d1c0126635aa (patch) | |
tree | f1ed51dfc87879e73261625f3afb4d4169e2a3f8 /api/user.go | |
parent | 0b3db018d33601a44c86d08771441c5dacd18969 (diff) | |
parent | 8d6c35481124d7e30bdb559f440c48b3e5eb4e0d (diff) | |
download | chat-72575ac7bdd5bfe7bd544ba238f8d1c0126635aa.tar.gz chat-72575ac7bdd5bfe7bd544ba238f8d1c0126635aa.tar.bz2 chat-72575ac7bdd5bfe7bd544ba238f8d1c0126635aa.zip |
Merging release branch 'release-0.7.0'
Diffstat (limited to 'api/user.go')
-rw-r--r-- | api/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |