mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-18 06:03:54 +03:00
unmanaged fix
This commit is contained in:
parent
90aa455586
commit
c34fc41f56
@ -198,12 +198,8 @@ class UDSActorClient(threading.Thread): # pylint: disable=too-many-instance-att
|
|||||||
|
|
||||||
time.sleep(1.3) # Sleeps between loop iterations
|
time.sleep(1.3) # Sleeps between loop iterations
|
||||||
|
|
||||||
# If login was recognized...
|
self.api.logout(user + self._extraLogoff, sessionType)
|
||||||
if self._loginInfo.logged_in:
|
logger.info('Notified logout for %s (%s)', user, sessionType) # Log logout
|
||||||
self.api.logout(user + self._extraLogoff, sessionType)
|
|
||||||
logger.info('Notified logout for %s (%s)', user, sessionType) # Log logout
|
|
||||||
else:
|
|
||||||
logger.info('Logout not notified for %s (%s)', user, sessionType) # Log logout
|
|
||||||
|
|
||||||
# Clean up login info
|
# Clean up login info
|
||||||
self._loginInfo = None
|
self._loginInfo = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user