aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/forms.py
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-09 17:38:19 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-09 17:38:19 +0000
commitb896eb2fcfe34667c5ff7d5e0783fe6b2080ae50 (patch)
treedc68fd932191ef01429d8ddbeef11a1bbae9f949 /alphabetlearning/payments/forms.py
parentb481069d9444cc0756bd9f6780e7700dcf4903f5 (diff)
Adds v3 reCAPCHA to the field
Diffstat (limited to 'alphabetlearning/payments/forms.py')
-rw-r--r--alphabetlearning/payments/forms.py4
1 files changed, 2 insertions, 2 deletions
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