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