mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
🐛 Sending back userId rather than just localpart
This commit is contained in:
parent
b0955b532b
commit
6595536cab
|
|
@ -73,7 +73,7 @@ func Login(
|
||||||
return util.JSONResponse{
|
return util.JSONResponse{
|
||||||
Code: http.StatusOK,
|
Code: http.StatusOK,
|
||||||
JSON: loginResponse{
|
JSON: loginResponse{
|
||||||
UserID: login.Username(),
|
UserID: userutil.MakeUserID(login.Username(), cfg.Matrix.ServerName),
|
||||||
AccessToken: "",
|
AccessToken: "",
|
||||||
HomeServer: cfg.Matrix.ServerName,
|
HomeServer: cfg.Matrix.ServerName,
|
||||||
DeviceID: "",
|
DeviceID: "",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue