mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-10 00:28:09 -05:00
fix(logs): jellyfin auth error now has the severity warn consistent with local login
fix #224
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user