From 7bb0190ffa7dfb45ad04a75038ab3ef8d0cdc775 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 22 Jan 2016 21:56:54 -0500 Subject: [PATCH] Change hmac method --- app/Http/Middleware/APISecretToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/APISecretToken.php b/app/Http/Middleware/APISecretToken.php index ef13ba563..6db05a2ba 100644 --- a/app/Http/Middleware/APISecretToken.php +++ b/app/Http/Middleware/APISecretToken.php @@ -118,7 +118,7 @@ class APISecretToken extends Authorization protected function _generateHMAC($body, $key) { - $data = $this->method . '.' . $this->url . '.' . $body; + $data = $this->method . $this->url . $body; return hash_hmac($this->algo, $data, $key, true); }