diff options
author | David Baker <dave@matrix.org> | 2015-08-20 21:54:53 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-08-20 21:54:53 +0100 |
commit | 21b71b6d7ce1aee5ce09f7c0f5d5d774dc61d60d (patch) | |
tree | 5b0b034867603a9d3fff6afe37b80219b8c150d5 /synapse/rest | |
parent | Merge pull request #240 from matrix-org/refresh (diff) | |
download | synapse-21b71b6d7ce1aee5ce09f7c0f5d5d774dc61d60d.tar.xz |
Return fully qualified user_id as per spec
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v1/login.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py index 67323a16bb..3a0707c2ee 100644 --- a/synapse/rest/client/v1/login.py +++ b/synapse/rest/client/v1/login.py @@ -91,7 +91,7 @@ class LoginRestServlet(ClientV1RestServlet): password=login_submission["password"]) result = { - "user_id": login_submission["user"], # may have changed + "user_id": user_id, # may have changed "access_token": access_token, "refresh_token": refresh_token, "home_server": self.hs.hostname, |