From d004d0b92720e47ef03323570f41b06934b4ce71 Mon Sep 17 00:00:00 2001 From: Steven Hammerton Date: Fri, 9 Oct 2015 11:18:05 +0100 Subject: [PATCH] Were not authed when fetching CAS server URL, so use request rather than authed request --- lib/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); };