Check if provisioning has been enabled. It can needs to be enabled globally in advanced -> default settings or per domain in advanced -> domains.
category: provision subcategory: enabled type: text value: true enabled: true
This commit is contained in:
parent
e7d3d5c934
commit
cc63df7d81
|
|
@ -54,6 +54,12 @@ include "resources/classes/template.php";
|
|||
$provision[$key] = $value;
|
||||
}
|
||||
|
||||
//check if provisioning has been enabled
|
||||
if ($provision["enabled"] != "true") {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
//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
|
||||
|
|
|
|||
Loading…
Reference in New Issue