Fixed API authorization issue

This commit is contained in:
Alex Tselegidis 2021-11-06 15:01:17 +01:00
parent 27c5c3ab35
commit 1883b97630

View file

@ -104,11 +104,6 @@ class Api {
return; return;
} }
if ( ! isset($_SERVER['PHP_AUTH_USER']))
{
return;
}
// Basic auth. // Basic auth.
$username = $_SERVER['PHP_AUTH_USER']; $username = $_SERVER['PHP_AUTH_USER'];