fix(settings): unify handling of Jellyfin and Emby usernames

This commit is contained in:
0xsysr3ll
2026-03-30 21:53:01 +02:00
parent 4b59de235b
commit 68df6f0f58

View File

@@ -75,7 +75,8 @@ const UserLinkedAccountsSettings = () => {
type: LinkedAccountType.Plex,
username: user.plexUsername,
});
// Jellyfin and Emby both store the linked username in jellyfinUsername
// Jellyfin and Emby both store the linked username in jellyfinUsername; do
// not gate on user.userType or LOCAL/Plex users with a linked server stay hidden.
if (user.jellyfinUsername) {
const treatAsEmby =
user.userType === UserType.EMBY ||