Commit a258efec authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) fix remote network input validation

(cherry picked from commit b383bdd4)
parent b9950095
......@@ -285,7 +285,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
if (($pconfig['remoteid_netbits'] != 0 && !$pconfig['remoteid_netbits']) || !is_numeric($pconfig['remoteid_netbits'])) {
$input_errors[] = gettext("A valid remote network bit count must be specified.");
}
break;
case "address":
if (!$pconfig['remoteid_address'] || !is_ipaddr($pconfig['remoteid_address'])) {
$input_errors[] = gettext("A valid remote network IP address must be specified.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment