Skip to content

Commit 089a615

Browse files
authored
Update modules/setting/service.go
1 parent d6fd250 commit 089a615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func newService() {
7777
Service.AllowOnlyInternalRegistration = sec.Key("ALLOW_ONLY_INTERNAL_REGISTRATION").MustBool()
7878
Service.AllowOnlyExternalRegistration = sec.Key("ALLOW_ONLY_EXTERNAL_REGISTRATION").MustBool()
7979
if Service.AllowOnlyExternalRegistration && Service.AllowOnlyInternalRegistration {
80-
log.Warn("ALLOW_ONLY_INTERNAL_REGISTRATION and ALLOW_ONLY_EXTERNAL_REGISTRATION are ture, disable registration")
80+
log.Warn("ALLOW_ONLY_INTERNAL_REGISTRATION and ALLOW_ONLY_EXTERNAL_REGISTRATION are true - disabling registration")
8181
Service.DisableRegistration = true
8282
}
8383
if !sec.Key("REGISTER_EMAIL_CONFIRM").MustBool() {

0 commit comments

Comments
 (0)