You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
Disable hCaptcha compatibility with reCAPTCHA
This commit is contained in:
@@ -212,9 +212,7 @@ impl Form {
|
||||
}
|
||||
|
||||
// hCaptcha
|
||||
// XXX: this is also allowing g-recaptcha-response, because apparently hCaptcha thought
|
||||
// it was a good idea to send both
|
||||
(CaptchaService::HCaptcha, _, Some(response), None) => {
|
||||
(CaptchaService::HCaptcha, None, Some(response), None) => {
|
||||
Request::post(HCAPTCHA_VERIFY_URL)
|
||||
.body(VerificationRequest {
|
||||
secret,
|
||||
|
Reference in New Issue
Block a user