forked from shaba/openuds
Fixed token being cleaned on managed machines on logout
This commit is contained in:
parent
735a093b0b
commit
668c26dd8f
@ -304,6 +304,7 @@ class CommonService: # pylint: disable=too-many-instance-attributes
|
||||
|
||||
def uninitialize(self):
|
||||
self._initialized = False
|
||||
self._cfg = self._cfg._replace(own_token=None) # Ensures assigned token is cleared
|
||||
|
||||
def finish(self) -> None:
|
||||
if self._http:
|
||||
@ -422,8 +423,6 @@ class CommonService: # pylint: disable=too-many-instance-attributes
|
||||
if not self.isManaged():
|
||||
self.uninitialize()
|
||||
|
||||
self._cfg = self._cfg._replace(own_token=None) # Ensures assigned token is cleared
|
||||
|
||||
# ****************************************
|
||||
# Methods that CAN BE overriden by actors
|
||||
# ****************************************
|
||||
|
Loading…
Reference in New Issue
Block a user