mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 19:11:58 +01:00
Fix incorrect key name so registerManualConfirm setting works as expected. (#14455)
This commit is contained in:
parent
efe4235412
commit
012bf388ab
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func newService() {
|
||||||
Service.DisableRegistration = sec.Key("DISABLE_REGISTRATION").MustBool()
|
Service.DisableRegistration = sec.Key("DISABLE_REGISTRATION").MustBool()
|
||||||
Service.AllowOnlyExternalRegistration = sec.Key("ALLOW_ONLY_EXTERNAL_REGISTRATION").MustBool()
|
Service.AllowOnlyExternalRegistration = sec.Key("ALLOW_ONLY_EXTERNAL_REGISTRATION").MustBool()
|
||||||
if !sec.Key("REGISTER_EMAIL_CONFIRM").MustBool() {
|
if !sec.Key("REGISTER_EMAIL_CONFIRM").MustBool() {
|
||||||
Service.RegisterManualConfirm = sec.Key("REGISTER_EMAIL_CONFIRM").MustBool(false)
|
Service.RegisterManualConfirm = sec.Key("REGISTER_MANUAL_CONFIRM").MustBool(false)
|
||||||
} else {
|
} else {
|
||||||
Service.RegisterManualConfirm = false
|
Service.RegisterManualConfirm = false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue