Skip to content

fix(auth): preserve existing sessions on login - #173

Draft
HazAT wants to merge 1 commit into
masterfrom
docs/explain-auth-device-limit
Draft

fix(auth): preserve existing sessions on login#173
HazAT wants to merge 1 commit into
masterfrom
docs/explain-auth-device-limit

Conversation

@HazAT

@HazAT HazAT commented Aug 25, 2026

Copy link
Copy Markdown
Member

Signing in now creates an additional active session instead of revoking every existing session for the account, so users can remain signed in across devices. Explicit logout still revokes only the browser's current session, and regression coverage verifies that both existing and newly created sessions continue using D1-backed role authority.

Allow users to stay signed in on multiple devices by creating a new session without revoking the user's other active sessions. Logout continues to revoke only the current session, and the auth regression coverage now verifies that both old and new sessions remain usable.
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