fix: update avatar on new login

This commit is contained in:
Gauthier
2024-10-24 11:38:06 +02:00
parent 269fd69dff
commit 329527bd03

View File

@@ -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) {