From 1883b976300dfb563bfef9276eec0be583d5fadc Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sat, 6 Nov 2021 15:01:17 +0100 Subject: [PATCH] Fixed API authorization issue --- application/libraries/Api.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/application/libraries/Api.php b/application/libraries/Api.php index c851527c..7b6c4180 100644 --- a/application/libraries/Api.php +++ b/application/libraries/Api.php @@ -104,11 +104,6 @@ class Api { return; } - if ( ! isset($_SERVER['PHP_AUTH_USER'])) - { - return; - } - // Basic auth. $username = $_SERVER['PHP_AUTH_USER'];