mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Disable "Auto Logout" when "Remember me" is on. (#988)
This commit is contained in:
parent
06d3dac310
commit
d64b6388ae
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
Events.sub('rl.auto-logout-refresh', function () {
|
Events.sub('rl.auto-logout-refresh', function () {
|
||||||
window.clearTimeout(self.iAutoLogoutTimer);
|
window.clearTimeout(self.iAutoLogoutTimer);
|
||||||
if (0 < self.autoLogout())
|
if (0 < self.autoLogout() && !Settings.settingsGet('AccountSignMe'))
|
||||||
{
|
{
|
||||||
self.iAutoLogoutTimer = window.setTimeout(function () {
|
self.iAutoLogoutTimer = window.setTimeout(function () {
|
||||||
Events.pub('rl.auto-logout');
|
Events.pub('rl.auto-logout');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue