feat(security): nudge to sign out sessions unused for 3 months (#113) #452
Merged
jared
merged 1 commits from 2026-10-25 00:43:15 -04:00
feat/stale-sessions into lotus
No Reviewers
Labels
Clear labels
a11y
area: appearance
area: auth-session
area: build-ci
area: calls
area: desktop
area: media
area: messaging
area: mobile
area: moderation
area: navigation
area: notifications
area: settings
area: threads
bug
dependencies
docs
duplicate
enhancement
help wanted
invalid
needs-human-review
performance
planning
priority: critical
priority: high
priority: low
priority: medium
qa
question
research
security
tech-debt
ux
wontfix
Accessibility: keyboard, screen reader, contrast, motion
Client area: appearance
Client area: auth-session
Client area: build-ci
Client area: calls
Client area: desktop
Client area: media
Client area: messaging
Client area: mobile
Client area: moderation
Client area: navigation
Client area: notifications
Client area: settings
Client area: threads
Something is not working
Third-party package versions and advisories
README / LOTUS_* docs wrong or missing
This issue or pull request already exists
New feature
Need some help
Something is wrong
Re-render storms, leaks, heavy work on hot paths
Data loss, security hole, or crash on a main path
Broken feature or serious usability problem
Minor issue or polish
Wrong behaviour in an edge case or notable degradation
Manual QA: shipped, needs a human in a real environment
More information is needed
XSS, unsafe URLs, data leaks, auth/session
Code health, dead code, fragile patterns
Usability or visual inconsistency
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: LotusGuild/cinny#452
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #113. Owner decisions 2026-10-25: the existing strip plus the Devices page, stale at 90 days, and pre-selected bulk sign-out.
The issue's other questions are settled by what already exists:
What users see
Rules (
staleSessions): last seen at least 90 days ago; never the current session; a session with no last-seen time is left alone.Tested
stale-sessions.spec.tsagainst a local Synapse. Synapse can't backdate last-seen, so the session list is served with one real extra session made 120 days old.🤖 Generated with Claude Code
https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
Sessions of this account not seen for 90+ days (never the current one; a session with no last-seen time is left alone) get a nudge in the existing security strip, after the device-security ones and with the same rules ("Not now" snoozes 7 days, gone after 3 dismissals; a snoozed security nudge no longer hides it): "You have 3 sessions you haven't used in 3 months. Signing them out keeps your account safe if an old device is lost." [Review] Review opens Settings -> Devices with those sessions ticked for sign-out (one confirm, the usual re-auth incl. SSO); they are listed first and marked "Inactive for 3+ months". OIDC accounts sign out on the provider's dashboard, so nothing is ticked there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5