summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
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")
}