Skip to content

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

Open
github-actions[bot] wants to merge 1 commit into
version-15from
backport-1456-to-version-15
Open

feat: log out old devices instantly via realtime session check#1457
github-actions[bot] wants to merge 1 commit into
version-15from
backport-1456-to-version-15

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Backport of #1456 to version-15.


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.

(cherry picked from commit e391fcd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant