Persistent login fix
clear `session_token` on logout if present
@@ -109,9 +109,11 @@ class KeeperParams:
self.clone_code = None
self.device_token = None
self.device_private_key = None
+ self.account_uid_bytes = None
+ self.session_token_bytes = None
def clear_session(self):
- self.auth_verifier = ''
+ self.auth_verifier = None
self.user = ''
self.password = ''
self.mfa_type = 'device_token'
@@ -155,6 +157,8 @@ class KeeperParams:
self.clone_code = None
self.device_token = None
self.device_private_key = None
+ self.account_uid_bytes = None
+ self.session_token_bytes = None
def __get_rest_context(self):
return self.__rest_context
