summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-31 13:33:22 -0700
committer=Corey Hulen <corey@hulen.com>2015-08-31 13:33:22 -0700
commit7de7de6ad0882ef25ed9be5bbd91576cc822206f (patch)
treedbd7268878456d9fc0dce82a72b804d14cc6ee21 /utils
parent82a54f9363e3a6b7d4268ef951ac427e94deacb2 (diff)
downloadchat-7de7de6ad0882ef25ed9be5bbd91576cc822206f.tar.gz
chat-7de7de6ad0882ef25ed9be5bbd91576cc822206f.tar.bz2
chat-7de7de6ad0882ef25ed9be5bbd91576cc822206f.zip
MM-2056 fixes problem with creating team
Diffstat (limited to 'utils')
-rw-r--r--utils/config.go4
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")
}