1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 20:32:28 +01:00

Change hmac method

This commit is contained in:
Dane Everitt 2016-01-22 21:56:54 -05:00
parent aac498808c
commit 7bb0190ffa

View File

@ -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);
}