From 21b71b6d7ce1aee5ce09f7c0f5d5d774dc61d60d Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 20 Aug 2015 21:54:53 +0100 Subject: Return fully qualified user_id as per spec --- synapse/rest/client/v1/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/rest/client/v1/login.py') 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, -- cgit 1.4.1