You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Fix login
https://github.com/matrix-org/matrix-js-sdk/pull/168 was broken :/
This commit is contained in:
@@ -186,7 +186,7 @@ MatrixBaseApis.prototype.login = function(loginType, data, callback) {
|
||||
};
|
||||
|
||||
// merge data into login_data
|
||||
login_data.extend(data);
|
||||
utils.extend(login_data, data);
|
||||
|
||||
return this._http.authedRequest(
|
||||
callback, "POST", "/login", undefined, login_data
|
||||
|
||||
Reference in New Issue
Block a user