Skip to content

Commit

Permalink
fix(auth): case-sensitive logins not updating authtokens (#778)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThowZzy authored May 28, 2024
1 parent 7a5e8d6 commit 2bd125d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ authRoutes.post('/jellyfin', async (req, res, next) => {
await userRepository.save(user);
}
// User already exists, let's update their information
else if (body.username === user?.jellyfinUsername) {
else if (account.User.Id === user?.jellyfinUserId) {
logger.info(
`Found matching ${
settings.main.mediaServerType === MediaServerType.JELLYFIN
Expand Down

0 comments on commit 2bd125d

Please sign in to comment.