mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Change hmac method
This commit is contained in:
@@ -118,7 +118,7 @@ class APISecretToken extends Authorization
|
|||||||
|
|
||||||
protected function _generateHMAC($body, $key)
|
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);
|
return hash_hmac($this->algo, $data, $key, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user