From 1c3aa5e9b56eb57e64eddfb556d9348fb0859430 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 28 Aug 2009 08:32:20 +0000 Subject: [PATCH] call WrongReCaptchaCode validator for recaptcha. svn path=/plone.app.discussion/trunk/; revision=29428 --- plone/app/discussion/browser/validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/browser/validator.py b/plone/app/discussion/browser/validator.py index 3fa7db9..891c191 100644 --- a/plone/app/discussion/browser/validator.py +++ b/plone/app/discussion/browser/validator.py @@ -60,6 +60,6 @@ class CaptchaValidator(validator.SimpleFieldValidator): # Fetch recatpcha view captcha = getMultiAdapter((aq_inner(self.context), self.request), name='recaptcha') if not captcha.verify(): - raise WrongCaptchaCode + raise WrongReCaptchaCode else: return True \ No newline at end of file