summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-08-20 21:54:53 +0100
committerDavid Baker <dave@matrix.org>2015-08-20 21:54:53 +0100
commit21b71b6d7ce1aee5ce09f7c0f5d5d774dc61d60d (patch)
tree5b0b034867603a9d3fff6afe37b80219b8c150d5
parentMerge pull request #240 from matrix-org/refresh (diff)
downloadsynapse-21b71b6d7ce1aee5ce09f7c0f5d5d774dc61d60d.tar.xz
Return fully qualified user_id as per spec
-rw-r--r--synapse/rest/client/v1/login.py2
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,