From 17ca399ef30c108fbcf09aaa1739563318819123 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 10 Dec 2013 16:22:00 +0000 Subject: [PATCH] Fix the provision password. --- app/provision/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/provision/index.php b/app/provision/index.php index 96a7f8bac1..4e4c162763 100644 --- a/app/provision/index.php +++ b/app/provision/index.php @@ -57,7 +57,7 @@ include "resources/classes/template.php"; //if password was defined in the system -> variables page then require the password. if (strlen($provision['password']) > 0) { //deny access if the password doesn't match - if ($provision_password != check_str($_REQUEST['password'])) { + if ($provision['password'] != check_str($_REQUEST['password'])) { //log the failed auth attempt to the system, to be available for fail2ban. openlog('FusionPBX', LOG_NDELAY, LOG_AUTH); syslog(LOG_WARNING, '['.$_SERVER['REMOTE_ADDR']."] provision attempt bad password for ".check_str($_REQUEST['mac']));