login: Fix error when getting remote IP address during registration....
johbo -
r45:c7e16994 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -236,7 +236,7
236 self.request.params.get('recaptcha_challenge_field'),
236 self.request.params.get('recaptcha_challenge_field'),
237 self.request.params.get('recaptcha_response_field'),
237 self.request.params.get('recaptcha_response_field'),
238 private_key=captcha_private_key,
238 private_key=captcha_private_key,
239 remoteip=self.ip_addr)
239 remoteip=get_ip_addr(self.request.environ))
240 if captcha_active and not response.is_valid:
240 if captcha_active and not response.is_valid:
241 _value = form_result
241 _value = form_result
242 _msg = _('bad captcha')
242 _msg = _('bad captcha')
Comments 0
You need to be logged in to leave comments. Login now