mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-01 11:21:53 +03:00
🐛 Bug Report: Login code not signing in to user if already logged into an another user. #598
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SteinTokvam on GitHub (Jan 9, 2026).
Reproduction steps
Log into a user(e.g the admin user). If you then try to log in using a login code link without signing out of the original user nothing happens when opening the login code link and the original user stays signed in.
Expected behavior
If I try to log in using a login code for a user i would expect to be signed in to that user, but if I am already signed in to an another user nothing happens and that user stays signed in. I would expect that a login code link would sign me in to the user that link is made for, and not keep me signed in to the user that was already signed in to.
Actual Behavior
Original user stays signed in and the expected user is not signed in
Pocket ID Version
v2.1.0
Database
SQLLite
OS and Environment
Docker on UnRaid
Log Output
No response
@stonith404 commented on GitHub (Jan 11, 2026):
Fixed in
0e2cdc393e