mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 16:54:19 -05:00
Change to https for ID server communication
This commit is contained in:
parent
7ac8a60c6f
commit
1bac74b9ae
@ -52,7 +52,7 @@ class IdentityHandler(BaseHandler):
|
|||||||
data = {}
|
data = {}
|
||||||
try:
|
try:
|
||||||
data = yield http_client.get_json(
|
data = yield http_client.get_json(
|
||||||
"http://%s%s" % (
|
"https://%s%s" % (
|
||||||
creds['id_server'],
|
creds['id_server'],
|
||||||
"/_matrix/identity/api/v1/3pid/getValidated3pid"
|
"/_matrix/identity/api/v1/3pid/getValidated3pid"
|
||||||
),
|
),
|
||||||
@ -73,8 +73,7 @@ class IdentityHandler(BaseHandler):
|
|||||||
data = None
|
data = None
|
||||||
try:
|
try:
|
||||||
data = yield http_client.post_urlencoded_get_json(
|
data = yield http_client.post_urlencoded_get_json(
|
||||||
# XXX: Change when ID servers are all HTTPS
|
"https://%s%s" % (
|
||||||
"http://%s%s" % (
|
|
||||||
creds['id_server'], "/_matrix/identity/api/v1/3pid/bind"
|
creds['id_server'], "/_matrix/identity/api/v1/3pid/bind"
|
||||||
),
|
),
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user