From d4a1cfcff4ad71e67fafd0563ea516a7e17e6b24 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 12 Nov 2024 14:21:50 +1100 Subject: [PATCH] Reduce CAPTCHA noise a little --- conservancy/settings/prod.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conservancy/settings/prod.py b/conservancy/settings/prod.py index 41b92cfb..9d74476d 100644 --- a/conservancy/settings/prod.py +++ b/conservancy/settings/prod.py @@ -43,3 +43,5 @@ STRIPE_ENDPOINT_SECRET = get_secret(secrets, 'STRIPE_ENDPOINT_SECRET') CAPTCHA_FLITE_PATH = '/usr/bin/flite' CAPTCHA_SOX_PATH = '/usr/bin/sox' +CAPTCHA_LETTER_ROTATION = (-25, 25) +CAPTCHA_NOISE_FUNCITONS = ('captcha.helpers.noise_dots',)