aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-01-29 14:51:44 +0100
committerChocobozzz <me@florianbigard.com>2020-01-29 14:51:44 +0100
commit01dfb6420610968c5926396032071892c4876d84 (patch)
treefd90e57dfc2d4f6c9b9613d05332a745cff13828 /server/middlewares
parentd5692d4088cdd9fde3be6ff34be8ce2816dab0cf (diff)
downloadPeerTube-01dfb6420610968c5926396032071892c4876d84.tar.gz
PeerTube-01dfb6420610968c5926396032071892c4876d84.tar.zst
PeerTube-01dfb6420610968c5926396032071892c4876d84.zip
Relax logger on signature checker
Diffstat (limited to 'server/middlewares')
-rw-r--r--server/middlewares/activitypub.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/activitypub.ts b/server/middlewares/activitypub.ts
index c6d8466ac..c906e785c 100644
--- a/server/middlewares/activitypub.ts
+++ b/server/middlewares/activitypub.ts
@@ -23,7 +23,7 @@ async function checkSignature (req: Request, res: Response, next: NextFunction)
23 23
24 return next() 24 return next()
25 } catch (err) { 25 } catch (err) {
26 logger.error('Error in ActivityPub signature checker.', err) 26 logger.warn('Error in ActivityPub signature checker.', err)
27 return res.sendStatus(403) 27 return res.sendStatus(403)
28 } 28 }
29} 29}