Show modal on "instant SSO"

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-03-27 01:17:43 +00:00
parent c10732736c
commit fdde27cc90
1 changed files with 2 additions and 2 deletions

View File

@ -427,8 +427,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
return url; return url;
} }
startSingleSignOn(mxClient: MatrixClient, loginType: "sso" | "cas") { startSingleSignOn(mxClient: MatrixClient, loginType: "sso" | "cas", showModal: boolean) {
super.startSingleSignOn(mxClient, loginType); // this will get intercepted by electron-main will-navigate super.startSingleSignOn(mxClient, loginType, false); // this will get intercepted by electron-main will-navigate
Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, { Modal.createTrackedDialog('Electron', 'SSO', InfoDialog, {
title: _t("Go to your browser to complete Sign In"), title: _t("Go to your browser to complete Sign In"),
description: <Spinner />, description: <Spinner />,