From 015cbcc758b3cb339515987b7ca5f5518d428eac Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sun, 24 Dec 2023 00:38:36 -0600 Subject: [PATCH] Set recaptcha host to google --- judge/jinja2/social.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/judge/jinja2/social.py b/judge/jinja2/social.py index 645809d..f7ea1c5 100644 --- a/judge/jinja2/social.py +++ b/judge/jinja2/social.py @@ -48,5 +48,9 @@ for name, template, url_func in SHARES: @registry.function def recaptcha_init(language=None): return get_template("snowpenguin/recaptcha/recaptcha_init.html").render( - {"explicit": False, "language": language} + { + "explicit": False, + "language": language, + "recaptcha_host": "https://google.com", + } )