mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-31 19:59:31 -05:00
fix: fix mediaServerType not set for Plex which leads to Plex users seeing Jellyfin settings
This commit is contained in:
@@ -70,6 +70,9 @@ authRoutes.post('/plex', async (req, res, next) => {
|
||||
userType: UserType.PLEX,
|
||||
});
|
||||
|
||||
settings.main.mediaServerType = MediaServerType.PLEX;
|
||||
settings.save();
|
||||
|
||||
await userRepository.save(user);
|
||||
} else {
|
||||
const mainUser = await userRepository.findOneOrFail({
|
||||
|
||||
Reference in New Issue
Block a user