From b896eb2fcfe34667c5ff7d5e0783fe6b2080ae50 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 9 Dec 2024 17:38:19 +0000 Subject: Adds v3 reCAPCHA to the field --- alphabetlearning/payments/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alphabetlearning/payments') diff --git a/alphabetlearning/payments/forms.py b/alphabetlearning/payments/forms.py index 68acfee..bfa23ac 100644 --- a/alphabetlearning/payments/forms.py +++ b/alphabetlearning/payments/forms.py @@ -1,12 +1,12 @@ from django import forms from django_recaptcha.fields import ReCaptchaField -from django_recaptcha.widgets import ReCaptchaV2Checkbox +from django_recaptcha.widgets import ReCaptchaV3 from .models import EmailVerification class EmailVerificationForm(forms.ModelForm): - captcha = ReCaptchaField(widget=ReCaptchaV2Checkbox) + captcha = ReCaptchaField(widget=ReCaptchaV3()) class Meta: model = EmailVerification -- cgit v1.2.3