AutoLogout always allowed

This commit is contained in:
the-djmaze 2022-10-27 16:05:28 +02:00
parent be8c453cac
commit dec2c1e84c
6 changed files with 5 additions and 19 deletions

View file

@ -57,7 +57,7 @@ export const SettingsUserStore = new class {
let iAutoLogoutTimer;
self.delayLogout = (() => {
clearTimeout(iAutoLogoutTimer);
if (0 < self.autoLogout() && !SettingsGet('AccountSignMe') && SettingsCapa('AutoLogout')) {
if (0 < self.autoLogout() && !SettingsGet('AccountSignMe')) {
iAutoLogoutTimer = setTimeout(
rl.app.logout,
self.autoLogout() * 60000