MOBILE-3068 login: Fix check WS enabled in 3.1 with local_mobile

main
Dani Palou 2019-08-22 13:06:07 +02:00
parent 44f2122298
commit adf30321f8
1 changed files with 3 additions and 0 deletions

View File

@ -492,6 +492,9 @@ export class CoreSitesProvider {
} }
return data; return data;
}, (error) => {
// Local mobile check returned an error. This only happens if the plugin is installed and it returns an error.
return rejectWithCriticalError(error);
}).then((data) => { }).then((data) => {
siteUrl = temporarySite.getURL(); siteUrl = temporarySite.getURL();