Don't require authentication for api.php?status

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2017-09-21 21:59:04 +02:00
parent 850ab39249
commit e87046e04a

View File

@@ -17,7 +17,7 @@ check_cors();
$data = array();
// Common API functions
if (isset($_GET['status']) && $auth)
if (isset($_GET['status']))
{
$pistatus = exec('sudo pihole status web');
if ($pistatus == "1")