MOBILE-2844 desktop: Display download button in SSO legacy site

main
Dani Palou 2019-01-28 09:55:32 +01:00
parent 05c552c343
commit edcc26f2c5
1 changed files with 3 additions and 3 deletions

View File

@ -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(() => {