mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 10:53:33 +00:00
Replace hardcoded Jellyfin authentication DeviceId to include hostname and username (#312)
This commit is contained in:
parent
1a948ab86b
commit
ac7ec133db
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ const authenticate = async (
|
||||||
Username: body.username,
|
Username: body.username,
|
||||||
},
|
},
|
||||||
headers: {
|
headers: {
|
||||||
'x-emby-authorization': `MediaBrowser Client="Feishin", Device="${getHostname()}", DeviceId="Feishin", Version="${
|
'x-emby-authorization': `MediaBrowser Client="Feishin", Device="${getHostname()}", DeviceId="Feishin-${getHostname()}-${body.username}", Version="${
|
||||||
packageJson.version
|
packageJson.version
|
||||||
}"`,
|
}"`,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue