diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-09-01 08:28:03 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-01 08:28:03 -0400 |
commit | 1dddc304147c4e25abcd9d110b2c90fbcef7cc26 (patch) | |
tree | d77c6acdb24c707909e8f2313c834021b2dea2f1 /utils | |
parent | a06a07df89d83a94e875519a4e18973a6785f924 (diff) | |
parent | 7de7de6ad0882ef25ed9be5bbd91576cc822206f (diff) | |
download | chat-1dddc304147c4e25abcd9d110b2c90fbcef7cc26.tar.gz chat-1dddc304147c4e25abcd9d110b2c90fbcef7cc26.tar.bz2 chat-1dddc304147c4e25abcd9d110b2c90fbcef7cc26.zip |
Merge pull request #528 from mattermost/MM-2056
HOTFIX MM-2056 fixes problem with creating team
Diffstat (limited to 'utils')
-rw-r--r-- | utils/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
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") } |