mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Fix parameter check
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ function check_domain() {
|
||||
}
|
||||
|
||||
function list_verify($type) {
|
||||
if(!isset($_POST['domain'], $_POST['list']) && !(isset($_POST['pw']) || isset($_POST['token']))) {
|
||||
if(!isset($_POST['domain']) || !isset($_POST['list']) || !(isset($_POST['pw']) || isset($_POST['token']))) {
|
||||
log_and_die("Missing POST variables");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user