summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-16 11:32:51 +0100
committerErik Johnston <erik@matrix.org>2016-09-16 11:32:51 +0100
commit2e67cabd7f9b8f01ba776cef5737491bc794527e (patch)
tree9f91aadf47e281867ad7ed69fb4efde9d0fab4f5 /synapse/rest
parentComment (diff)
downloadsynapse-2e67cabd7f9b8f01ba776cef5737491bc794527e.tar.xz
Make POST /publicRooms require auth
Diffstat (limited to '')
-rw-r--r--synapse/rest/client/v1/room.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index be14ae1061..5584bfbfc0 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -339,8 +339,7 @@ class PublicRoomListRestServlet(ClientV1RestServlet):
 
     @defer.inlineCallbacks
     def on_POST(self, request):
-        # FIXME
-        # yield self.auth.get_user_by_req(request)
+        yield self.auth.get_user_by_req(request)
 
         server = parse_string(request, "server", default=None)
         content = parse_json_object_from_request(request)