MOBILE-4059 login: Avoid infinite loop error
parent
dabd4e8046
commit
5aad0b14e2
|
@ -239,7 +239,7 @@ export class CoreLoginCredentialsPage implements OnInit, OnDestroy {
|
||||||
// Site wasn't checked (it failed) or a previous check determined it was SSO. Let's check again.
|
// Site wasn't checked (it failed) or a previous check determined it was SSO. Let's check again.
|
||||||
await this.checkSite(siteUrl);
|
await this.checkSite(siteUrl);
|
||||||
|
|
||||||
if (!this.isBrowserSSO) {
|
if (!this.isBrowserSSO && this.siteChecked) {
|
||||||
// Site doesn't use browser SSO, throw app's login again.
|
// Site doesn't use browser SSO, throw app's login again.
|
||||||
return this.login();
|
return this.login();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue