🐛 Bug Report: Login code not signing in to user if already logged into an another user. #598

Closed
opened 2026-02-04 20:37:46 +03:00 by OVERLORD · 1 comment
Owner

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

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_
Author
Owner

@stonith404 commented on GitHub (Jan 11, 2026):

Fixed in 0e2cdc393e

@stonith404 commented on GitHub (Jan 11, 2026): Fixed in 0e2cdc393e34276bb3b8ea318cdc7261de3f2dec
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#598