EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
cs
Yuri Kuznetsov3fab26158fb7
diff --git a/application/Espo/Core/Authentication/Logins/Hmac.php b/application/Espo/Core/Authentication/Logins/Hmac.phpindex 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);