projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5692d4
)
Relax logger on signature checker
author
Chocobozzz
<me@florianbigard.com>
Wed, 29 Jan 2020 13:51:44 +0000
(14:51 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 29 Jan 2020 13:51:44 +0000
(14:51 +0100)
server/middlewares/activitypub.ts
patch
|
blob
|
history
diff --git
a/server/middlewares/activitypub.ts
b/server/middlewares/activitypub.ts
index c6d8466acda03abe664ab89a739f83d05053e0f7..c906e785c57f7dde1463683684afe0abf33c04de 100644
(file)
--- a/
server/middlewares/activitypub.ts
+++ b/
server/middlewares/activitypub.ts
@@
-23,7
+23,7
@@
async function checkSignature (req: Request, res: Response, next: NextFunction)
return next()
} catch (err) {
- logger.
error
('Error in ActivityPub signature checker.', err)
+ logger.
warn
('Error in ActivityPub signature checker.', err)
return res.sendStatus(403)
}
}