0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 18:13:59 +01:00

Return fully qualified user_id as per spec

This commit is contained in:
David Baker 2015-08-20 21:54:53 +01:00
parent b1e35eabf2
commit 21b71b6d7c

View file

@ -91,7 +91,7 @@ class LoginRestServlet(ClientV1RestServlet):
password=login_submission["password"]) password=login_submission["password"])
result = { result = {
"user_id": login_submission["user"], # may have changed "user_id": user_id, # may have changed
"access_token": access_token, "access_token": access_token,
"refresh_token": refresh_token, "refresh_token": refresh_token,
"home_server": self.hs.hostname, "home_server": self.hs.hostname,