summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/account.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-09-10 17:43:57 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-09-10 17:56:10 +0100
commitb5833a2abf788a4144602c3e0de15d371608094b (patch)
tree3d52063a1eedf657cf942d21229b014615bbe8fe /synapse/rest/client/v2_alpha/account.py
parentUse account_threepid_delegate for 3pid validation (diff)
downloadsynapse-b5833a2abf788a4144602c3e0de15d371608094b.tar.xz
Add changelog
Diffstat (limited to '')
-rw-r--r--synapse/rest/client/v2_alpha/account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py
index 94a8fec8f7..2ea515d2f6 100644
--- a/synapse/rest/client/v2_alpha/account.py
+++ b/synapse/rest/client/v2_alpha/account.py
@@ -523,7 +523,7 @@ class ThreepidRestServlet(RestServlet):
         requester = yield self.auth.get_user_by_req(request)
         user_id = requester.user.to_string()
 
-        # Retrieve the identity server from the request
+        # Specify None as the identity server to retrieve it from the request body instead
         threepid = yield self.identity_handler.threepid_from_creds(None, threepid_creds)
 
         if not threepid: