Update user_edit.php

This commit is contained in:
FusionPBX
2018-08-28 18:46:59 -06:00
committed by GitHub
parent 02841475f6
commit e173408a35

View File

@@ -841,7 +841,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") {
echo "<input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>";
}
if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/api/app_config.php')) {
if (permission_exists('api_key')) {
echo " <tr>";
echo " <td class='vncell' valign='top'>".$text['label-api_key']."</td>";
echo " <td class='vtable'>\n";