diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-05 23:08:39 -0700 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-05 23:08:39 -0700 |
commit | b5749c75d90247ff2f7960fad909b7b4fb694b67 (patch) | |
tree | f601e0fab32f2b47d175cda0fa65952ca5baa014 /synapse | |
parent | 80 chars please (diff) | |
download | synapse-b5749c75d90247ff2f7960fad909b7b4fb694b67.tar.xz |
Reload captchas when they fail. Cleanup on success.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 0693112ba8..0b841d6d3a 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -62,8 +62,8 @@ class RegistrationHandler(BaseHandler): captcha_info["response"] ) if not captcha_response["valid"]: - logger.info("Invalid captcha entered from %s", - captcha_info["ip"]) + logger.info("Invalid captcha entered from %s. Error: %s", + captcha_info["ip"], captcha_response["error_url"]) raise InvalidCaptchaError( error_url=captcha_response["error_url"] ) |