summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2017-04-26 11:43:16 +0100
committerDavid Baker <dave@matrix.org>2017-04-26 11:43:16 +0100
commit82ae0238f9ff15a5a5445cb681ab0cb507d865f3 (patch)
treead8c553d4b3571f7d7b889d8fb6cfa9d4c8eaec7
parentMerge remote-tracking branch 'origin/develop' into dbkr/http_request_propagat... (diff)
downloadsynapse-82ae0238f9ff15a5a5445cb681ab0cb507d865f3.tar.xz
Revert accidental commit
Diffstat (limited to '')
-rw-r--r--synapse/handlers/identity.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py
index 8b407a307c..9efcdff1d6 100644
--- a/synapse/handlers/identity.py
+++ b/synapse/handlers/identity.py
@@ -84,7 +84,7 @@ class IdentityHandler(BaseHandler):
         data = {}
         try:
             data = yield self.http_client.get_json(
-                "http://%s%s" % (
+                "https://%s%s" % (
                     id_server,
                     "/_matrix/identity/api/v1/3pid/getValidated3pid"
                 ),
@@ -122,7 +122,7 @@ class IdentityHandler(BaseHandler):
 
         try:
             data = yield self.http_client.post_urlencoded_get_json(
-                "http://%s%s" % (
+                "https://%s%s" % (
                     id_server, "/_matrix/identity/api/v1/3pid/bind"
                 ),
                 {
@@ -155,7 +155,7 @@ class IdentityHandler(BaseHandler):
 
         try:
             data = yield self.http_client.post_json_get_json(
-                "http://%s%s" % (
+                "https://%s%s" % (
                     id_server,
                     "/_matrix/identity/api/v1/validate/email/requestToken"
                 ),
@@ -192,7 +192,7 @@ class IdentityHandler(BaseHandler):
 
         try:
             data = yield self.http_client.post_json_get_json(
-                "http://%s%s" % (
+                "https://%s%s" % (
                     id_server,
                     "/_matrix/identity/api/v1/validate/msisdn/requestToken"
                 ),