Change hmac method
This commit is contained in:
parent
aac498808c
commit
7bb0190ffa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue