diff --git a/src/Module/BaseApi.php b/src/Module/BaseApi.php index 0462804733..27c4fee100 100644 --- a/src/Module/BaseApi.php +++ b/src/Module/BaseApi.php @@ -187,7 +187,6 @@ class BaseApi extends BaseModule private static function getUserByBearer() { $authorization = $_SERVER['HTTP_AUTHORIZATION'] ?? ''; - $authorization = $_SERVER['AUTHORIZATION'] ?? $authorization; if (substr($authorization, 0, 7) != 'Bearer ') { return 0;