fix(logs): jellyfin auth error now has the severity warn consistent with local login

fix #224
This commit is contained in:
Fallenbagel
2023-06-11 07:26:45 +05:00
parent ff7f9725f8
commit cc041b5e0a

View File

@@ -380,7 +380,7 @@ authRoutes.post('/jellyfin', async (req, res, next) => {
return res.status(200).json(user?.filter() ?? {}); return res.status(200).json(user?.filter() ?? {});
} catch (e) { } catch (e) {
if (e.message === 'Unauthorized') { if (e.message === 'Unauthorized') {
logger.info( logger.warn(
'Failed login attempt from user with incorrect Jellyfin credentials', 'Failed login attempt from user with incorrect Jellyfin credentials',
{ {
label: 'Auth', label: 'Auth',