Verified Commit 37b96678 authored by les's avatar les
Browse files

minor

parent 58dda736
......@@ -211,7 +211,10 @@ const Helpers = {
log.info(`Actor ${req.body.actor} not found`)
return res.status(401).send('Actor not found')
}
if (httpSignature.verifySignature(parsed, user.object.publicKey.publicKeyPem)) { return next() }
if (httpSignature.verifySignature(parsed, user.object.publicKey.publicKeyPem)) {
log.debug(`Valid signature from ${req.body.actor} `)
return next()
}
// still not valid
log.info(`Invalid signature from user ${req.body.actor}`)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment