mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 02:39:25 +01:00
Require auth for recentBlocked function
Signed-off-by: Aidan Woods <aidantwoods@gmail.com>
This commit is contained in:
@@ -333,7 +333,7 @@ else
|
||||
$data = array_merge($data, $result);
|
||||
}
|
||||
|
||||
if(isset($_GET["recentBlocked"]))
|
||||
if(isset($_GET["recentBlocked"]) && $auth)
|
||||
{
|
||||
sendRequestFTL("recentBlocked");
|
||||
die(utf8_encode(getResponseFTL()[0]));
|
||||
|
||||
Reference in New Issue
Block a user