From 330ab81d633c14932a0e3393fe43d13e065b200e Mon Sep 17 00:00:00 2001 From: vilmibm Date: Fri, 8 Mar 2019 22:12:28 +0000 Subject: [PATCH] tweak captcha --- ttadmin/common/forms.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ttadmin/common/forms.py b/ttadmin/common/forms.py index 6e2ff39..f5632d1 100644 --- a/ttadmin/common/forms.py +++ b/ttadmin/common/forms.py @@ -4,15 +4,15 @@ from random import shuffle from django.core.exceptions import ValidationError from django.forms import ChoiceField -CAPTCHA_CHOICES = [('two', 'zorp borp'), - ('three', 'quop bop'), - ('four', 'NO, I AM NOT A ROBOT'), - ('five', 'crackle zop'), - ('six', '*rusty screech*'), - ('seven', 'mother, give me legs')] +CAPTCHA_CHOICES = [('number', 'zorp borp'), + ('hey', 'quop bop'), + ('never', 'NO, I AM NOT A ROBOT'), + ('eleven', 'crackle zop'), + ('twelve', '*rusty screech*'), + ('eighty', 'mother, give me legs')] shuffle(CAPTCHA_CHOICES) CAPTCHA_CHOICES.insert(0, ('one', 'beep boop'),) -NOT_A_ROBOT = 'four' +NOT_A_ROBOT = 'never' def validate_captcha(captcha): if captcha != NOT_A_ROBOT: