diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-10-12 18:47:28 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-10-12 18:47:28 +0100 |
commit | 9009143fb9774f583c19019aad0556934e6c6763 (patch) | |
tree | 97db9a4ba60ad1109851d6a918f9de40eb062079 | |
parent | User-interactive auth on delete device (diff) | |
download | synapse-9009143fb9774f583c19019aad0556934e6c6763.tar.xz |
Handle delete device requests with no body
We should probably return a 401 rather than a 400 for existing clients that don't know they have to do the UIA dance to delete a device.
-rw-r--r-- | synapse/rest/client/v2_alpha/devices.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/devices.py b/synapse/rest/client/v2_alpha/devices.py |