From dd4d42fd316ea1a771c2f3a42a944ca1bb01d6ab Mon Sep 17 00:00:00 2001 From: Aiden Vigue Date: Mon, 14 Jun 2021 16:33:17 -0400 Subject: [PATCH] fix(backend): force same device id --- server/routes/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/auth.ts b/server/routes/auth.ts index a382c5b33..ed98d088f 100644 --- a/server/routes/auth.ts +++ b/server/routes/auth.ts @@ -190,7 +190,7 @@ authRoutes.post('/jellyfin', async (req, res, next) => { deviceId = user.jellyfinDeviceId ?? ''; } else { deviceId = Buffer.from( - `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0|${Date.now()}` + `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0` ).toString('base64'); } // First we need to attempt to log the user in to jellyfin