diff --git a/crates/handlers/src/captcha.rs b/crates/handlers/src/captcha.rs index c206df5cf..1624edd69 100644 --- a/crates/handlers/src/captcha.rs +++ b/crates/handlers/src/captcha.rs @@ -14,7 +14,7 @@ use thiserror::Error; use crate::BoundActivityTracker; // https://developers.google.com/recaptcha/docs/verify#api_request -const RECAPTCHA_VERIFY_URL: &str = "https://www.google.com/recaptcha/api/siteverify"; +const RECAPTCHA_VERIFY_URL: &str = "https://www.recaptcha.net/recaptcha/api/siteverify"; // https://docs.hcaptcha.com/#verify-the-user-response-server-side const HCAPTCHA_VERIFY_URL: &str = "https://api.hcaptcha.com/siteverify"; diff --git a/templates/components/captcha.html b/templates/components/captcha.html index b21fa5f67..42b5e12b2 100644 --- a/templates/components/captcha.html +++ b/templates/components/captcha.html @@ -29,7 +29,7 @@ Please see LICENSE files in the repository root for full details. {% macro head() -%} {%- if captcha|default(False) -%} {%- if captcha.service == "recaptcha_v2" -%} - + {%- elif captcha.service == "cloudflare_turnstile" -%} {%- elif captcha.service == "hcaptcha" -%}