Merge pull request #403 from Fallenbagel/fix-log-format-jellyfin-auth
fix(logs): jellyfin auth error now has the severity `warn` consistent with local login
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