We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a32f0a7 commit a6903ccCopy full SHA for a6903cc
src/core/services/sites.ts
@@ -1487,15 +1487,10 @@ export class CoreSitesProvider {
1487
await CoreUtils.ignoreErrors(( async () => {
1488
const siteId = await this.getStoredCurrentSiteId();
1489
const site = await this.getSite(siteId);
1490
-
1491
- if (!site.isVersionGreaterEqualThan('4.3')) {
1492
- return;
1493
- }
1494
1495
const autoLogoutType = Number(site.getStoredConfig('tool_mobile_autologout'));
1496
const autoLogoutTime = Number(site.getStoredConfig('tool_mobile_autologouttime'));
1497
1498
- if (autoLogoutType === CoreAutoLogoutType.NEVER || !site.id) {
+ if (!autoLogoutType || autoLogoutType === CoreAutoLogoutType.NEVER || !site.id) {
1499
return;
1500
}
1501
0 commit comments