aboutsummaryrefslogtreecommitdiff
path: root/setup/config/config_clientapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/config/config_clientapi.go')
-rw-r--r--setup/config/config_clientapi.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/config/config_clientapi.go b/setup/config/config_clientapi.go
index 11628b1b..1deba6bb 100644
--- a/setup/config/config_clientapi.go
+++ b/setup/config/config_clientapi.go
@@ -85,10 +85,10 @@ func (c *ClientAPI) Verify(configErrs *ConfigErrors, isMonolith bool) {
c.RecaptchaApiJsUrl = "https://www.google.com/recaptcha/api.js"
}
if c.RecaptchaFormField == "" {
- c.RecaptchaFormField = "g-recaptcha"
+ c.RecaptchaFormField = "g-recaptcha-response"
}
if c.RecaptchaSitekeyClass == "" {
- c.RecaptchaSitekeyClass = "g-recaptcha-response"
+ c.RecaptchaSitekeyClass = "g-recaptcha"
}
checkNotEmpty(configErrs, "client_api.recaptcha_public_key", c.RecaptchaPublicKey)
checkNotEmpty(configErrs, "client_api.recaptcha_private_key", c.RecaptchaPrivateKey)