diff --git a/portal/forms/play.py b/portal/forms/play.py index 9f9d3ad4d..8a3a6893f 100644 --- a/portal/forms/play.py +++ b/portal/forms/play.py @@ -222,7 +222,7 @@ class IndependentStudentSignupForm(forms.Form): widget=forms.PasswordInput(attrs={"autocomplete": "off", "placeholder": "Repeat password"}), ) - # captcha = ReCaptchaField(widget=ReCaptchaV2Invisible) + captcha = ReCaptchaField(widget=ReCaptchaV2Invisible) def clean_name(self): name = self.cleaned_data.get("name", None) diff --git a/portal/forms/teach.py b/portal/forms/teach.py index d19fd97bb..9b30310d9 100644 --- a/portal/forms/teach.py +++ b/portal/forms/teach.py @@ -86,7 +86,7 @@ class TeacherSignupForm(InvitedTeacherForm): ), ) - # captcha = ReCaptchaField(widget=ReCaptchaV2Invisible) + captcha = ReCaptchaField(widget=ReCaptchaV2Invisible) class TeacherEditAccountForm(forms.Form): diff --git a/portal/templates/captcha/includes/js_v2_invisible.html b/portal/templates/django_recaptcha/includes/js_v2_invisible.html similarity index 89% rename from portal/templates/captcha/includes/js_v2_invisible.html rename to portal/templates/django_recaptcha/includes/js_v2_invisible.html index 14f9bfc3d..caa32ce6a 100644 --- a/portal/templates/captcha/includes/js_v2_invisible.html +++ b/portal/templates/django_recaptcha/includes/js_v2_invisible.html @@ -1,8 +1,8 @@ -{# This is adapted from django-recaptcha 2.0.5 to work on multiple reCAPTCHA's on the same page #} -{# See verifyCaptcha_{{ widget_uuid}} for the edit #} +