diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-07 15:24:27 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-07 15:56:09 +0100 |
commit | e92269053e3fd0e9b9c155ded86a1668444f3d70 (patch) | |
tree | fc6c48416a028fa4f471fbe91f5b982122e303bf /server/helpers/peertube-crypto.ts | |
parent | 7cde3b9c2e84ea20bb0aae4544598483cde9e22c (diff) | |
download | PeerTube-e92269053e3fd0e9b9c155ded86a1668444f3d70.tar.gz PeerTube-e92269053e3fd0e9b9c155ded86a1668444f3d70.tar.zst PeerTube-e92269053e3fd0e9b9c155ded86a1668444f3d70.zip |
Update http signature
Diffstat (limited to 'server/helpers/peertube-crypto.ts')
-rw-r--r-- | server/helpers/peertube-crypto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/peertube-crypto.ts b/server/helpers/peertube-crypto.ts index 9eb782302..89c0ab151 100644 --- a/server/helpers/peertube-crypto.ts +++ b/server/helpers/peertube-crypto.ts | |||
@@ -51,7 +51,7 @@ function isHTTPSignatureVerified (httpSignatureParsed: any, actor: MActor): bool | |||
51 | } | 51 | } |
52 | 52 | ||
53 | function parseHTTPSignature (req: Request, clockSkew?: number) { | 53 | function parseHTTPSignature (req: Request, clockSkew?: number) { |
54 | return httpSignature.parse(req, { authorizationHeaderName: HTTP_SIGNATURE.HEADER_NAME, clockSkew }) | 54 | return httpSignature.parse(req, { clockSkew }) |
55 | } | 55 | } |
56 | 56 | ||
57 | // JSONLD | 57 | // JSONLD |