summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-12-05 09:49:22 +0000
committerRichard van der Hoff <richard@matrix.org>2017-12-05 09:49:22 +0000
commit16ec3805e50b08615e96e0c170438d2666ef122c (patch)
tree25d34a3392ecae2cec832dac46c298e038cffa06
parentMerge pull request #2729 from matrix-org/rav/custom_ui_auth (diff)
downloadsynapse-16ec3805e50b08615e96e0c170438d2666ef122c.tar.xz
Fix error when deleting devices
This was introduced in d7ea8c4 / PR #2728
-rw-r--r--synapse/rest/client/v2_alpha/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/devices.py b/synapse/rest/client/v2_alpha/devices.py
index 4fff02eeeb..35d58b367a 100644
--- a/synapse/rest/client/v2_alpha/devices.py
+++ b/synapse/rest/client/v2_alpha/devices.py
@@ -80,7 +80,7 @@ class DeleteDevicesRestServlet(servlet.RestServlet):
                 400, "No devices supplied", errcode=errors.Codes.MISSING_PARAM
             )
 
-        result, params, _ = yield self.auth_handler.validate_user_via_ui_auth(
+        yield self.auth_handler.validate_user_via_ui_auth(
             requester, body, self.hs.get_ip_from_request(request),
         )