mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 11:19:59 +01:00
Allow only authenticated access to queryads.php
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -7,6 +7,11 @@
|
||||
* Please see LICENSE file for your rights under this license.
|
||||
*/
|
||||
|
||||
require 'password.php';
|
||||
if (!$auth) {
|
||||
exit('Not authorized');
|
||||
}
|
||||
|
||||
while (ob_get_level() > 0) {
|
||||
ob_end_flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user