From 3eba2b4fdbd769fac31e6e1cab0c0496ca0cd3ce Mon Sep 17 00:00:00 2001 From: Levi Zoesch Sr Date: Sat, 10 Feb 2024 14:48:25 -0800 Subject: [PATCH] Update WebBridge.php --- WebBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebBridge.php b/WebBridge.php index d1713f5..6e9e7ec 100644 --- a/WebBridge.php +++ b/WebBridge.php @@ -22,7 +22,7 @@ public function VerifyRequest(): bool $userAgent = Request()->header('USER_AGENT'); $timeStamp = Request()->header('X-UE5-Timestamp'); - $jpbToken = Request()->header('X-UE5-Token'); + $ue5Token = Request()->header('X-UE5-Token'); if (in_array($userAgent, ['UE5-Client', 'UE5-Server', 'UE5-Editor'])) { @@ -42,7 +42,7 @@ public function VerifyRequest(): bool // Expected encrypted token $encrypted = $this->encrypt($backToUETimestamp, $this->ENCRYPTION_KEY); - if ($jpbToken !== $encrypted) { + if ($ue5Token !== $encrypted) { // Hash does not match return false; }