Skip to content

Commit

Permalink
fix(auth): auth failing with jellyfin login is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenbagel committed May 28, 2024
1 parent 43e0a29 commit fe8c781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ authRoutes.post('/jellyfin', async (req, res, next) => {
//Make sure jellyfin login is enabled, but only if jellyfin is not already configured
if (
settings.main.mediaServerType !== MediaServerType.JELLYFIN &&
settings.jellyfin.ip !== ''
settings.main.mediaServerType != MediaServerType.NOT_CONFIGURED
) {
return res.status(500).json({ error: 'Jellyfin login is disabled' });
} else if (!body.username) {
Expand Down

0 comments on commit fe8c781

Please sign in to comment.