Require auth for recentBlocked function

Signed-off-by: Aidan Woods <aidantwoods@gmail.com>
This commit is contained in:
Aidan Woods
2020-12-05 13:38:37 +00:00
parent 8ac95be7c1
commit 8acfe1394e

View File

@@ -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]));