MOBILE-4059 login: Avoid infinite loop error

main
Noel De Martin 2022-10-06 17:40:02 +02:00
parent dabd4e8046
commit 5aad0b14e2
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }