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 = '';
|
user.username = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
// If JELLYFIN_TYPE is set to 'emby' then set mediaServerType to EMBY
|
// TODO: If JELLYFIN_TYPE is set to 'emby' then set mediaServerType to EMBY
|
||||||
if (process.env.JELLYFIN_TYPE === 'emby') {
|
// if (process.env.JELLYFIN_TYPE === 'emby') {
|
||||||
settings.main.mediaServerType = MediaServerType.EMBY;
|
// settings.main.mediaServerType = MediaServerType.EMBY;
|
||||||
settings.save();
|
// settings.save();
|
||||||
}
|
// }
|
||||||
|
|
||||||
await userRepository.save(user);
|
await userRepository.save(user);
|
||||||
} else if (!settings.main.newPlexLogin) {
|
} else if (!settings.main.newPlexLogin) {
|
||||||
|
|||||||
Reference in New Issue
Block a user