Skip to content

Commit 7bb0190

Browse files
committed
Change hmac method
1 parent aac4988 commit 7bb0190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Middleware/APISecretToken.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function authenticate(Request $request, Route $route)
118118

119119
protected function _generateHMAC($body, $key)
120120
{
121-
$data = $this->method . '.' . $this->url . '.' . $body;
121+
$data = $this->method . $this->url . $body;
122122
return hash_hmac($this->algo, $data, $key, true);
123123
}
124124

0 commit comments

Comments
 (0)