From 7d99f563b9a99cb62074e58a9e0b37fd62cac110 Mon Sep 17 00:00:00 2001 From: "T. Kim Nguyen" Date: Wed, 14 Dec 2016 13:28:16 -0600 Subject: [PATCH] change captcha verification message for #186 --- CHANGES.txt | 3 ++- Products/PloneFormGen/validators/CaptchaValidator.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 5e1c7103..4b251ef5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,7 +4,8 @@ Change History 1.8.4 (unreleased) ------------------ -- Nothing changed yet. +- change captcha verification message for #186 + [tkimnguyen] 1.8.3 (2016-12-06) diff --git a/Products/PloneFormGen/validators/CaptchaValidator.py b/Products/PloneFormGen/validators/CaptchaValidator.py index 64813a2b..f6e2f94a 100644 --- a/Products/PloneFormGen/validators/CaptchaValidator.py +++ b/Products/PloneFormGen/validators/CaptchaValidator.py @@ -24,7 +24,7 @@ def __call__(self, value, *args, **kwargs): request = kwargs.get('REQUEST') captcha = getMultiAdapter((context, request), name='captcha') if not captcha.verify(value): - return ("Verification failed: Please type the characters you see below.") + return ("Verification failed: Please respond to the captcha below.") return 1 validation.register(CaptchaValidator('isCorrectCaptcha'))