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 d6fd250 commit 089a615Copy full SHA for 089a615
modules/setting/service.go
@@ -77,7 +77,7 @@ func newService() {
77
Service.AllowOnlyInternalRegistration = sec.Key("ALLOW_ONLY_INTERNAL_REGISTRATION").MustBool()
78
Service.AllowOnlyExternalRegistration = sec.Key("ALLOW_ONLY_EXTERNAL_REGISTRATION").MustBool()
79
if Service.AllowOnlyExternalRegistration && Service.AllowOnlyInternalRegistration {
80
- log.Warn("ALLOW_ONLY_INTERNAL_REGISTRATION and ALLOW_ONLY_EXTERNAL_REGISTRATION are ture, disable registration")
+ log.Warn("ALLOW_ONLY_INTERNAL_REGISTRATION and ALLOW_ONLY_EXTERNAL_REGISTRATION are true - disabling registration")
81
Service.DisableRegistration = true
82
}
83
if !sec.Key("REGISTER_EMAIL_CONFIRM").MustBool() {
0 commit comments