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 --- utils/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/config.go') diff --git a/utils/config.go b/utils/config.go index 36193412b..f49840453 100644 --- a/utils/config.go +++ b/utils/config.go @@ -31,7 +31,7 @@ type ServiceSettings struct { UseLocalStorage bool StorageDirectory string AllowedLoginAttempts int - AllowEmailSignUp bool + DisableEmailSignUp bool } type SSOSetting struct { @@ -278,7 +278,7 @@ func GetAllowedAuthServices() []string { } } - if Cfg.ServiceSettings.AllowEmailSignUp { + if !Cfg.ServiceSettings.DisableEmailSignUp { authServices = append(authServices, "email") } -- cgit v1.2.3-1-g7c22