Skip to content

fix: login keeps the account's other sessions - #32

Merged
zumbrunn merged 1 commit into
mainfrom
fix/login-keeps-other-sessions-30
Nov 12, 2026
Merged

zumbrunn merged 1 commit into
mainfrom
fix/login-keeps-other-sessions-30

Conversation

@zumbrunn

Copy link
Copy Markdown
Member

Closes #30.

Login called sessions.revokeAll(user.id), so a second browser or device signing in logged out the first. The public site login doesn't do that, and it isn't needed against session fixation (each login gets a fresh id). Sessions still end on logout, password change (revokeAll in the password endpoint, users:passwd) and expiry.

No test: the login route handler has no existing test harness; the one-line removal is covered by the existing SessionManager tests plus deno task check.

🤖 Generated with Claude Code

Closes #30

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn
zumbrunn merged commit 6be0826 into main Nov 12, 2026
4 checks passed
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.

Login revokes all of the user's other sessions, silently, with no hint on the login page

1 participant