diff options
-rw-r--r-- | synapse/handlers/auth.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py index aa6cdce38c..96f4521dcd 100644 --- a/synapse/handlers/auth.py +++ b/synapse/handlers/auth.py @@ -389,8 +389,13 @@ class AuthHandler(BaseHandler): clientip=clientip, password_servlet=password_servlet, ) + elif login_type == LoginType.RECAPTCHA: + res = yield checker( + authdict, + clientip, + ) else: - res = yield checker(authdict, clientip=clientip) + res = yield checker(authdict) defer.returnValue(res) # build a v1-login-style dict out of the authdict and fall back to the |