diff options
Diffstat (limited to 'server/middlewares/activitypub.ts')
-rw-r--r-- | server/middlewares/activitypub.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/middlewares/activitypub.ts b/server/middlewares/activitypub.ts index 88cf342ee..b1e5b5236 100644 --- a/server/middlewares/activitypub.ts +++ b/server/middlewares/activitypub.ts | |||
@@ -74,6 +74,8 @@ async function checkHttpSignature (req: Request, res: Response) { | |||
74 | 74 | ||
75 | const verified = isHTTPSignatureVerified(parsed, actor) | 75 | const verified = isHTTPSignatureVerified(parsed, actor) |
76 | if (verified !== true) { | 76 | if (verified !== true) { |
77 | logger.warn('Signature from %s is invalid', actorUrl, { parsed }) | ||
78 | |||
77 | res.sendStatus(403) | 79 | res.sendStatus(403) |
78 | return false | 80 | return false |
79 | } | 81 | } |