Skip to content
Snippets Groups Projects
Commit 2e67cabd authored by Erik Johnston's avatar Erik Johnston
Browse files

Make POST /publicRooms require auth

parent b7b62bf9
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment