1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-18 05:42:00 +03:00

Were not authed when fetching CAS server URL, so use request rather than authed request

This commit is contained in:
Steven Hammerton
2015-10-09 11:18:05 +01:00
parent 33bede1dfe
commit d004d0b927

View File

@@ -1742,7 +1742,7 @@ MatrixClient.prototype.loginWithSAML2 = function(relayState, callback) {
* @return {module:http-api.MatrixError} Rejects: with an error response.
*/
MatrixClient.prototype.getCasServer = function(callback) {
return this._http.authedRequest(
return this._http.request(
callback, "GET", "/login/cas", undefined, undefined
);
};