mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 02:13:44 +02:00
Change hmac method
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user