Update provision.php

This commit is contained in:
FusionPBX 2018-03-17 20:18:01 -06:00 committed by GitHub
parent 9b63a5908b
commit 5633db7b6f
1 changed files with 5 additions and 0 deletions

View File

@ -505,6 +505,11 @@ include "root.php";
}
}
//add the http auth password to the array
if (is_array($_SESSION['provision']["http_auth_password"])) {
$provision["http_auth_password"] = $_SESSION['provision']["http_auth_password"][0];
}
//check to see if the mac_address exists in devices
if (strlen($_REQUEST['user_id']) == 0 || strlen($_REQUEST['userid']) == 0) {
if ($this->mac_exists($mac)) {