Stop logout timer after unlock
This commit is contained in:
parent
478a9293b7
commit
115b2257a5
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ class Locker(object):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _checkLogout(self):
|
def _checkLogout(self):
|
||||||
|
if not self.locked:
|
||||||
|
return False
|
||||||
|
|
||||||
self.currentLogoutTimeout = self.currentLogoutTimeout - 1
|
self.currentLogoutTimeout = self.currentLogoutTimeout - 1
|
||||||
if self.updateLogoutTimeout is not None:
|
if self.updateLogoutTimeout is not None:
|
||||||
self.updateLogoutTimeout(self.currentLogoutTimeout)
|
self.updateLogoutTimeout(self.currentLogoutTimeout)
|
||||||
|
|
Reference in a new issue