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:42 +00:00
parent c41b39488b
commit 7fbfd73e11
2 changed files with 19 additions and 2 deletions

View file

@ -437,7 +437,7 @@ export default createReactClass({
// we do not do this when the user has changed to the server manually as that may be jarring.
if (initial && SSO_FLOWS.includes(flows[i].type)) {
const tmpCli = this._loginLogic.createTemporaryClient();
PlatformPeg.get().startSingleSignOn(tmpCli, flows[i].type === M_LOGIN_SSO ? "sso": "cas");
PlatformPeg.get().startSingleSignOn(tmpCli, flows[i].type === M_LOGIN_SSO ? "sso": "cas", true);
}
// we just pick the first flow where we support all the