diff --git a/src/core/services/sites.ts b/src/core/services/sites.ts index e76c54684..06c55682e 100644 --- a/src/core/services/sites.ts +++ b/src/core/services/sites.ts @@ -1487,6 +1487,11 @@ export class CoreSitesProvider { await CoreUtils.ignoreErrors(( async () => { const siteId = await this.getStoredCurrentSiteId(); const site = await this.getSite(siteId); + + if (!site.isVersionGreaterEqualThan('4.3')) { + return; + } + const autoLogoutType = Number(site.getStoredConfig('tool_mobile_autologout')); const autoLogoutTime = Number(site.getStoredConfig('tool_mobile_autologouttime'));