Show More
@@ -243,7 +243,7 b' class LoginView(object):' | |||||
243 | remoteip=get_ip_addr(self.request.environ)) |
|
243 | remoteip=get_ip_addr(self.request.environ)) | |
244 | if not response.is_valid: |
|
244 | if not response.is_valid: | |
245 | _value = form_result |
|
245 | _value = form_result | |
246 |
_msg = _(' |
|
246 | _msg = _('Bad captcha') | |
247 | error_dict = {'recaptcha_field': _msg} |
|
247 | error_dict = {'recaptcha_field': _msg} | |
248 | raise formencode.Invalid(_msg, _value, None, |
|
248 | raise formencode.Invalid(_msg, _value, None, | |
249 | error_dict=error_dict) |
|
249 | error_dict=error_dict) | |
@@ -305,7 +305,7 b' class LoginView(object):' | |||||
305 | remoteip=get_ip_addr(self.request.environ)) |
|
305 | remoteip=get_ip_addr(self.request.environ)) | |
306 | if not response.is_valid: |
|
306 | if not response.is_valid: | |
307 | _value = form_result |
|
307 | _value = form_result | |
308 |
_msg = _(' |
|
308 | _msg = _('Bad captcha') | |
309 | error_dict = {'recaptcha_field': _msg} |
|
309 | error_dict = {'recaptcha_field': _msg} | |
310 | raise formencode.Invalid(_msg, _value, None, |
|
310 | raise formencode.Invalid(_msg, _value, None, | |
311 | error_dict=error_dict) |
|
311 | error_dict=error_dict) |
General Comments 0
You need to be logged in to leave comments.
Login now