From 2ab58fb723366a979fdb6efb338164f71636f69c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 21 May 2020 20:58:31 -0600 Subject: [PATCH] Update InboxValidator, oof --- app/Jobs/InboxPipeline/InboxValidator.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Jobs/InboxPipeline/InboxValidator.php b/app/Jobs/InboxPipeline/InboxValidator.php index e38e0541..6b2e9001 100644 --- a/app/Jobs/InboxPipeline/InboxValidator.php +++ b/app/Jobs/InboxPipeline/InboxValidator.php @@ -64,9 +64,11 @@ class InboxValidator implements ShouldQueue } if($this->verifySignature($headers, $profile, $payload) == true) { - (new Inbox($headers, $profile, $payload))->handle() + (new Inbox($headers, $profile, $payload))->handle(); + return; } else if($this->blindKeyRotation($headers, $profile, $payload) == true) { - (new Inbox($headers, $profile, $payload))->handle() + (new Inbox($headers, $profile, $payload))->handle(); + return; } else { return; }