Fixed API authorization issue
This commit is contained in:
parent
27c5c3ab35
commit
1883b97630
1 changed files with 0 additions and 5 deletions
|
@ -104,11 +104,6 @@ class Api {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( ! isset($_SERVER['PHP_AUTH_USER']))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Basic auth.
|
||||
$username = $_SERVER['PHP_AUTH_USER'];
|
||||
|
||||
|
|
Loading…
Reference in a new issue