diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-01-28 16:58:23 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-01-28 16:58:23 +0000 |
commit | 388581e087a3658c1b70d2aa1d17a132953350ca (patch) | |
tree | 66072a2c0728e41603680c7e49467a5754e711a7 /synapse/rest/client/v1/admin.py | |
parent | Return the device_id from get_auth_by_req (diff) | |
download | synapse-388581e087a3658c1b70d2aa1d17a132953350ca.tar.xz |
Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events
Diffstat (limited to 'synapse/rest/client/v1/admin.py')
-rw-r--r-- | synapse/rest/client/v1/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py index 6cfce1a479..2ce754b028 100644 --- a/synapse/rest/client/v1/admin.py +++ b/synapse/rest/client/v1/admin.py @@ -31,7 +31,7 @@ class WhoisRestServlet(ClientV1RestServlet): @defer.inlineCallbacks def on_GET(self, request, user_id): target_user = UserID.from_string(user_id) - auth_user, device_id = yield self.auth.get_user_by_req(request) + auth_user, client = yield self.auth.get_user_by_req(request) is_admin = yield self.auth.is_server_admin(auth_user) if not is_admin and target_user != auth_user: |