MM-2056 fixes problem with creating team
Этот коммит содержится в:
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user