feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
150 changed files with 589 additions and 5302 deletions
Showing only changes of commit 1c3052219c - Show all commits

View File

@ -447,7 +447,6 @@ class Toku extends Ideal\Service
}
foreach ($results as $secret) {
if (HMAC::validate($timestamp, $signature, $eventId, $secret)) {
$this->logger->info('Toku webhook validated', [
'timestamp' => $timestamp,
'signature' => $signature,
@ -455,6 +454,7 @@ class Toku extends Ideal\Service
'eventType' => $eventType,
'secret' => $secret,
]);
if (HMAC::validate($timestamp, $signature, $eventId, $secret)) {
return true;
}
}