Commit 5637d5e1 authored by Noe Nieto's avatar Noe Nieto 💬

Simplify CAPTCHA; Purism/LibremOne/task#306

parent f0e978f9
......@@ -75,7 +75,7 @@ class CartRegistrationForm(RegistrationForm):
class CartRegistrationFormWithCaptcha(CartRegistrationForm):
captcha = CaptchaField(
label=_('Please solve this sum'),
label=_('Please solve this math problem'),
help_text=_('Prove you are not a robot. Solve this addition, subtraction or multiplication problem.'),
)
......
......@@ -244,6 +244,10 @@ CAPTCHA_TIMEOUT = 15
CAPTCHA_LENGTH = 4
CAPTCHA_TEST_MODE = True
CAPTCHA_CHALLENGE_FUNCT = 'captcha.helpers.math_challenge'
CAPTCHA_LETTER_ROTATION = (0,5)
CAPTCHA_MATH_CHALLENGE_OPERATOR = 'x'
CAPTCHA_NOISE_FUNCTIONS = ()
CAPTCHA_FONT_SIZE = 19
#
# Tunnel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment