Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions keepersdk-package/src/keepersdk/authentication/login_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,11 @@ def _on_logged_in(login: LoginAuth, response: APIRequest_pb2.LoginResponse,
auth_context.device_private_key = login.context.device_private_key
auth_context.message_session_uid = login.context.message_session_uid

# Close login-time push notifications
if login.push_notifications:
login.push_notifications.shutdown()
login.push_notifications = None

keeper_endpoint = login.keeper_endpoint
logged_auth = keeper_auth.KeeperAuth(keeper_endpoint, auth_context)
logged_auth.post_login()
Expand Down