MOBILE-3068 login: Fix check WS enabled in 3.1 with local_mobile
parent
44f2122298
commit
adf30321f8
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue