mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 10:35:46 +03:00
Return fully qualified user_id as per spec
This commit is contained in:
parent
b1e35eabf2
commit
21b71b6d7c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue