Skip to content

Commit

Permalink
fix: update avatar on new login
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthier-th committed Oct 24, 2024
1 parent 269fd69 commit 329527b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ authRoutes.post('/jellyfin', async (req, res, next) => {
jellyfinUsername: account.User.Name,
}
);
user.avatar = `/avatarproxy/${account.User.Id}`;
user.jellyfinUsername = account.User.Name;

if (user.username === account.User.Name) {
Expand Down

0 comments on commit 329527b

Please sign in to comment.