We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe4235 commit 012bf38Copy full SHA for 012bf38
modules/setting/service.go
@@ -67,7 +67,7 @@ func newService() {
67
Service.DisableRegistration = sec.Key("DISABLE_REGISTRATION").MustBool()
68
Service.AllowOnlyExternalRegistration = sec.Key("ALLOW_ONLY_EXTERNAL_REGISTRATION").MustBool()
69
if !sec.Key("REGISTER_EMAIL_CONFIRM").MustBool() {
70
- Service.RegisterManualConfirm = sec.Key("REGISTER_EMAIL_CONFIRM").MustBool(false)
+ Service.RegisterManualConfirm = sec.Key("REGISTER_MANUAL_CONFIRM").MustBool(false)
71
} else {
72
Service.RegisterManualConfirm = false
73
}
0 commit comments