Skip to content

feat: log out old devices instantly via realtime session check - #1456

Merged
av-dev2 merged 1 commit into
Aakvatech-Limited:version-15-betafrom
av-dev2:feat_changes
Aug 7, 2026
Merged

feat: log out old devices instantly via realtime session check#1456
av-dev2 merged 1 commit into
Aakvatech-Limited:version-15-betafrom
av-dev2:feat_changes

Conversation

@av-dev2

@av-dev2 av-dev2 commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

On hms_tz_sessions_cleared, each connected tab pings get_logged_user; tabs whose session was cleared get a 401/403 and redirect to the login page at once instead of waiting for the user's next action. The listener is registered on app_ready because frappe.realtime.on silently drops handlers added before the socket is initialized.

On hms_tz_sessions_cleared, each connected tab pings get_logged_user;
tabs whose session was cleared get a 401/403 and redirect to the login
page at once instead of waiting for the user's next action. The
listener is registered on app_ready because frappe.realtime.on
silently drops handlers added before the socket is initialized.
@av-dev2 av-dev2 added the backport-to-version-15 Production branch label Aug 7, 2026
@av-dev2
av-dev2 merged commit 9ca4e60 into Aakvatech-Limited:version-15-beta Aug 7, 2026
3 of 4 checks passed
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Successfully created backport PR for version-15:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-version-15 Production branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant