From 329527bd03343d87c27cba0352f71dbc4200a127 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Thu, 24 Oct 2024 11:38:06 +0200 Subject: [PATCH] fix: update avatar on new login --- server/routes/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/routes/auth.ts b/server/routes/auth.ts index 2c3aeaae..70e674f9 100644 --- a/server/routes/auth.ts +++ b/server/routes/auth.ts @@ -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) {