mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup.
This commit is contained in:
@@ -68,7 +68,7 @@ class Sha3SignatureGenerator implements SignatureGeneratorInterface
|
||||
// The actual JSON payload (i.e., the request body)
|
||||
$timestamp = Carbon::now()->getTimestamp();
|
||||
$payload = sprintf('%s.%s', $timestamp, $json);
|
||||
$signature = hash_hmac('sha3-256', $payload, (string) $message->webhook->secret, false);
|
||||
$signature = hash_hmac('sha3-256', $payload, (string) $message->webhook->secret);
|
||||
|
||||
// signature string:
|
||||
// header included in each signed event contains a timestamp and one or more signatures.
|
||||
|
Reference in New Issue
Block a user