You've already forked matrix-js-sdk
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:
@@ -1742,7 +1742,7 @@ MatrixClient.prototype.loginWithSAML2 = function(relayState, callback) {
|
|||||||
* @return {module:http-api.MatrixError} Rejects: with an error response.
|
* @return {module:http-api.MatrixError} Rejects: with an error response.
|
||||||
*/
|
*/
|
||||||
MatrixClient.prototype.getCasServer = function(callback) {
|
MatrixClient.prototype.getCasServer = function(callback) {
|
||||||
return this._http.authedRequest(
|
return this._http.request(
|
||||||
callback, "GET", "/login/cas", undefined, undefined
|
callback, "GET", "/login/cas", undefined, undefined
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user