Skip to content

EspoCRM – Open Source CRM Application

cs

Yuri Kuznetsov3fab26158fb7
diff --git a/application/Espo/Core/Authentication/Logins/Hmac.php b/application/Espo/Core/Authentication/Logins/Hmac.php
index 3d22e3f4de..8cb09bb3a4 100644
--- a/application/Espo/Core/Authentication/Logins/Hmac.php
+++ b/application/Espo/Core/Authentication/Logins/Hmac.php
@@ -50,7 +50,7 @@ class Hmac implements Login
{
$authString = base64_decode($request->getHeader('X-Hmac-Authorization') ?? '');
- list($apiKey, $hash) = explode(':', $authString, 2);
+ [$apiKey, $hash] = explode(':', $authString, 2);
if (!$apiKey) {
return Result::fail(FailReason::WRONG_CREDENTIALS);