forked from matrix/element-web
Show modal on "instant SSO"
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c10732736c
commit
fdde27cc90
|
@ -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 />,
|
||||||
|
|
Loading…
Reference in New Issue