mirror of
https://github.com/seerr-team/seerr.git
synced 2026-04-20 15:28:14 -04:00
fix(settings): handle email comparison for Jellyfin users
This commit is contained in:
@@ -305,8 +305,11 @@ userSettingsRoutes.post<{ authToken: string }>(
|
||||
});
|
||||
}
|
||||
|
||||
// Emails do not match
|
||||
if (user.email !== account.email) {
|
||||
// Jellyfin users often have no email.
|
||||
if (
|
||||
isMainPlex &&
|
||||
user.email?.toLowerCase() !== account.email?.toLowerCase()
|
||||
) {
|
||||
return res.status(422).json({
|
||||
message:
|
||||
'This Plex account is registered under a different email address.',
|
||||
|
||||
Reference in New Issue
Block a user