Update provision.php

This commit is contained in:
FusionPBX 2018-03-17 20:18:01 -06:00 committed by GitHub
parent ba5f65dd3e
commit a5c1ec3883
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)) {