MOBILE-2844 desktop: Display download button in SSO legacy site
parent
05c552c343
commit
edcc26f2c5
|
@ -179,10 +179,10 @@ export class CoreLoginHelperProvider {
|
||||||
} else {
|
} else {
|
||||||
this.goToSiteInitialPage();
|
this.goToSiteInitialPage();
|
||||||
}
|
}
|
||||||
}).catch((errorMessage) => {
|
}).catch((error) => {
|
||||||
if (errorMessage) {
|
if (error) {
|
||||||
// An error occurred, display the error and logout the user.
|
// An error occurred, display the error and logout the user.
|
||||||
this.domUtils.showErrorModal(errorMessage);
|
this.treatUserTokenError(siteData.siteUrl, error);
|
||||||
this.sitesProvider.logout();
|
this.sitesProvider.logout();
|
||||||
}
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|
Loading…
Reference in New Issue