diff --git a/lib/client.js b/lib/client.js index c248183ef..d347af186 100644 --- a/lib/client.js +++ b/lib/client.js @@ -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 ); };