mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! isset($_SERVER['PHP_AUTH_USER']))
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Basic auth.
|
// Basic auth.
|
||||||
$username = $_SERVER['PHP_AUTH_USER'];
|
$username = $_SERVER['PHP_AUTH_USER'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue