1
0
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:
Richard van der Hoff
2016-08-12 13:30:04 +01:00
parent b0d5e1d844
commit 6739da5acb

View File

@@ -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