We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aa2669 commit e71006aCopy full SHA for e71006a
src/SignatureValidator/DefaultSignatureValidator.php
@@ -24,6 +24,6 @@ public function isValid(Request $request, WebhookConfig $config): bool
24
25
$computedSignature = hash_hmac('sha256', $request->getContent(), $signingSecret);
26
27
- return hash_equals($signature, $computedSignature);
+ return hash_equals($computedSignature, $signature);
28
}
29
0 commit comments