summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-03-12 19:30:45 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-03-12 19:30:45 +0000
commita61dd408ed78db974a4d78f0708cc9405e36df64 (patch)
tree0db109ea5ded015f8bfca67f9c8290f88c419e63 /synapse/rest/client/v2_alpha
parentMerge pull request #1971 from matrix-org/dbkr/msisdn_signin (diff)
downloadsynapse-a61dd408ed78db974a4d78f0708cc9405e36df64.tar.xz
enable guest access for the 3pl/3pid APIs
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/thirdparty.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/rest/client/v2_alpha/thirdparty.py b/synapse/rest/client/v2_alpha/thirdparty.py
index 31f94bc6e9..ee2f158d03 100644
--- a/synapse/rest/client/v2_alpha/thirdparty.py
+++ b/synapse/rest/client/v2_alpha/thirdparty.py
@@ -36,8 +36,6 @@ class ThirdPartyProtocolsServlet(RestServlet):
 
     @defer.inlineCallbacks
     def on_GET(self, request):
-        yield self.auth.get_user_by_req(request)
-
         protocols = yield self.appservice_handler.get_3pe_protocols()
         defer.returnValue((200, protocols))
 
@@ -54,8 +52,6 @@ class ThirdPartyProtocolServlet(RestServlet):
 
     @defer.inlineCallbacks
     def on_GET(self, request, protocol):
-        yield self.auth.get_user_by_req(request)
-
         protocols = yield self.appservice_handler.get_3pe_protocols(
             only_protocol=protocol,
         )
@@ -77,8 +73,6 @@ class ThirdPartyUserServlet(RestServlet):
 
     @defer.inlineCallbacks
     def on_GET(self, request, protocol):
-        yield self.auth.get_user_by_req(request)
-
         fields = request.args
         fields.pop("access_token", None)
 
@@ -101,8 +95,6 @@ class ThirdPartyLocationServlet(RestServlet):
 
     @defer.inlineCallbacks
     def on_GET(self, request, protocol):
-        yield self.auth.get_user_by_req(request)
-
         fields = request.args
         fields.pop("access_token", None)