diff --git a/src/core/services/sites.ts b/src/core/services/sites.ts index 5a5d4ecd1..801d0a114 100644 --- a/src/core/services/sites.ts +++ b/src/core/services/sites.ts @@ -309,7 +309,7 @@ export class CoreSitesProvider { siteUrl = CoreUrlUtils.removeUrlParams(siteUrl); try { - data = await Http.post(siteUrl + '/login/token.php', {}).pipe(timeout(CoreWS.getRequestTimeout())) + data = await Http.post(siteUrl + '/login/token.php', { appsitecheck: 1 }).pipe(timeout(CoreWS.getRequestTimeout())) .toPromise(); } catch (error) { // Default error messages are kinda bad, return our own message.