Permalink
Browse files

Merge branch 'bindiry-master'

Closes #66
  • Loading branch information...
2 parents 5c772a9 + 727d78a commit d9b8cf2c69136cf28b3380599e4ec976f3460e85 @ajford ajford committed Mar 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 flask_wtf/recaptcha/validators.py
@@ -31,7 +31,7 @@ def __call__(self, form, field):
remote_ip = request.remote_addr
if not challenge or not response:
- raise ValidationError(field.gettext('This field is required.'))
+ raise ValidationError(field.gettext(self.message))
if not self._validate_recaptcha(challenge, response, remote_ip):
field.recaptcha_error = 'incorrect-captcha-sol'

0 comments on commit d9b8cf2

Please sign in to comment.