mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
comment
This commit is contained in:
parent
a5b3215ff7
commit
74fca7de2e
@ -125,6 +125,7 @@ class MailgunController extends BaseController
|
|||||||
return response()->json(['message' => 'Success. Soft Fail. Message too old.'], 200);
|
return response()->json(['message' => 'Success. Soft Fail. Message too old.'], 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// @turbo124 TODO: how to check for services.mailgun.webhook_signing_key on company level, when custom credentials are defined
|
||||||
if (\hash_equals(\hash_hmac('sha256', $input['timestamp'] . $input['token'], config('services.mailgun.webhook_signing_key')), $input['signature'])) {
|
if (\hash_equals(\hash_hmac('sha256', $input['timestamp'] . $input['token'], config('services.mailgun.webhook_signing_key')), $input['signature'])) {
|
||||||
ProcessMailgunInboundWebhook::dispatch($input)->delay(10);
|
ProcessMailgunInboundWebhook::dispatch($input)->delay(10);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user