fix(backend): force same device id
This commit is contained in:
@@ -190,7 +190,7 @@ authRoutes.post('/jellyfin', async (req, res, next) => {
|
|||||||
deviceId = user.jellyfinDeviceId ?? '';
|
deviceId = user.jellyfinDeviceId ?? '';
|
||||||
} else {
|
} else {
|
||||||
deviceId = Buffer.from(
|
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');
|
).toString('base64');
|
||||||
}
|
}
|
||||||
// First we need to attempt to log the user in to jellyfin
|
// First we need to attempt to log the user in to jellyfin
|
||||||
|
|||||||
Reference in New Issue
Block a user