mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
fix(embyauth): remove the accidentally added mediaServerType change code from another PR (#684)
Accidentally added the mediaServerType change code from another feature branch/PR during the auth logic refactor that broke emby logins.
This commit is contained in:
@@ -345,11 +345,11 @@ authRoutes.post('/jellyfin', async (req, res, next) => {
|
||||
user.username = '';
|
||||
}
|
||||
|
||||
// If JELLYFIN_TYPE is set to 'emby' then set mediaServerType to EMBY
|
||||
if (process.env.JELLYFIN_TYPE === 'emby') {
|
||||
settings.main.mediaServerType = MediaServerType.EMBY;
|
||||
settings.save();
|
||||
}
|
||||
// TODO: If JELLYFIN_TYPE is set to 'emby' then set mediaServerType to EMBY
|
||||
// if (process.env.JELLYFIN_TYPE === 'emby') {
|
||||
// settings.main.mediaServerType = MediaServerType.EMBY;
|
||||
// settings.save();
|
||||
// }
|
||||
|
||||
await userRepository.save(user);
|
||||
} else if (!settings.main.newPlexLogin) {
|
||||
|
||||
Reference in New Issue
Block a user