diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-16 11:32:51 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-16 11:32:51 +0100 |
commit | 2e67cabd7f9b8f01ba776cef5737491bc794527e (patch) | |
tree | 9f91aadf47e281867ad7ed69fb4efde9d0fab4f5 /synapse/rest | |
parent | Comment (diff) | |
download | synapse-2e67cabd7f9b8f01ba776cef5737491bc794527e.tar.xz |
Make POST /publicRooms require auth
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/room.py | 3 |
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) |