mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
recaptcha_form_field -> g-recaptcha-response
This commit is contained in:
parent
5e3e5f68d9
commit
697403b5b9
|
|
@ -85,7 +85,7 @@ func (c *ClientAPI) Verify(configErrs *ConfigErrors, isMonolith bool) {
|
||||||
c.RecaptchaApiJsUrl = "https://www.google.com/recaptcha/api.js"
|
c.RecaptchaApiJsUrl = "https://www.google.com/recaptcha/api.js"
|
||||||
}
|
}
|
||||||
if c.RecaptchaFormField == "" {
|
if c.RecaptchaFormField == "" {
|
||||||
c.RecaptchaFormField = "g-recaptcha"
|
c.RecaptchaFormField = "g-recaptcha-response"
|
||||||
}
|
}
|
||||||
if c.RecaptchaSitekeyClass == "" {
|
if c.RecaptchaSitekeyClass == "" {
|
||||||
c.RecaptchaSitekeyClass = "g-recaptcha"
|
c.RecaptchaSitekeyClass = "g-recaptcha"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue