summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-05-29 15:32:54 +0100
committerMark Haines <mjark@negativecurvature.net>2015-05-29 15:32:54 +0100
commitd70c847b4f783f6665b94989f70298a0858431ac (patch)
treecf9b2e03f549555bc255c44318830f3b1efec5d8 /synapse/handlers/auth.py
parentRemove log line (diff)
parentMerge branch 'develop' into markjh/SYT-8-recaptcha (diff)
downloadsynapse-d70c847b4f783f6665b94989f70298a0858431ac.tar.xz
Merge pull request #170 from matrix-org/markjh/SYT-8-recaptcha
Allow endpoint for verifying recaptcha to be configured
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index 0cc28248a9..63071653a3 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -188,7 +188,7 @@ class AuthHandler(BaseHandler):
         try:
             client = SimpleHttpClient(self.hs)
             resp_body = yield client.post_urlencoded_get_json(
-                "https://www.google.com/recaptcha/api/siteverify",
+                self.hs.config.recaptcha_siteverify_api,
                 args={
                     'secret': self.hs.config.recaptcha_private_key,
                     'response': user_response,