mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #457 from pi-hole/auth/overTimeDataForwards
Require auth for API command overTimeDataForwards
This commit is contained in:
+1
-1
@@ -229,7 +229,7 @@ if(isset($_GET["recentBlocked"]))
|
||||
unset($data);
|
||||
}
|
||||
|
||||
if (isset($_GET['overTimeDataForwards']))
|
||||
if (isset($_GET['overTimeDataForwards']) && $auth)
|
||||
{
|
||||
sendRequestFTL("ForwardedoverTime");
|
||||
$return = getResponseFTL();
|
||||
|
||||
Reference in New Issue
Block a user