Don't require the MAC address.

This commit is contained in:
Mark Crane 2015-04-05 22:29:56 +00:00
parent 6d249d0b61
commit 62bba24350
1 changed files with 10 additions and 8 deletions

View File

@ -54,6 +54,7 @@ openlog("fusion-provisioning", LOG_PID | LOG_PERROR, LOG_LOCAL0);
}
//prepare the mac address
if (!isset($_GET['user_id'])) {
//normalize the mac address to lower case
$mac = strtolower($mac);
//replace all non hexadecimal values and validate the mac address
@ -62,6 +63,7 @@ openlog("fusion-provisioning", LOG_PID | LOG_PERROR, LOG_LOCAL0);
echo "invalid mac address";
exit;
}
}
//get the domain_name and domain_uuid
if ($_SESSION['provision']['http_domain_filter']['text'] == "false") {