File tree 1 file changed +1
-1
lines changed 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ func newService() {
63
63
Service .EnableReverseProxyAutoRegister = sec .Key ("ENABLE_REVERSE_PROXY_AUTO_REGISTRATION" ).MustBool ()
64
64
Service .EnableReverseProxyEmail = sec .Key ("ENABLE_REVERSE_PROXY_EMAIL" ).MustBool ()
65
65
Service .EnableCaptcha = sec .Key ("ENABLE_CAPTCHA" ).MustBool (false )
66
- Service .RequireExternalRegistrationCaptcha = sec .Key ("REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA" ).MustBool ()
66
+ Service .RequireExternalRegistrationCaptcha = sec .Key ("REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA" ).MustBool (Service . EnableCaptcha )
67
67
Service .RequireExternalRegistrationPassword = sec .Key ("REQUIRE_EXTERNAL_REGISTRATION_PASSWORD" ).MustBool ()
68
68
Service .CaptchaType = sec .Key ("CAPTCHA_TYPE" ).MustString (ImageCaptcha )
69
69
Service .RecaptchaSecret = sec .Key ("RECAPTCHA_SECRET" ).MustString ("" )
You can’t perform that action at this time.
0 commit comments