diff --git a/app/devices/app_config.php b/app/devices/app_config.php
index e92e7eb465..ac0d41b23b 100644
--- a/app/devices/app_config.php
+++ b/app/devices/app_config.php
@@ -240,8 +240,8 @@
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
- $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_provision_enable";
- $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_provision_enable";
+ $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_enabled";
+ $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "device_provision_enable";
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
$z++;
diff --git a/app/devices/app_languages.php b/app/devices/app_languages.php
index a8476cdbfb..a1c3c43b3b 100644
--- a/app/devices/app_languages.php
+++ b/app/devices/app_languages.php
@@ -1139,17 +1139,17 @@ $text['label-device_setting_description']['de-at'] = "Beschreibung";
$text['label-device_setting_description']['ar-eg'] = "";
$text['label-device_setting_description']['he'] = "תאור";
-$text['label-device_provision_enable']['en-us'] = "Enabled";
-$text['label-device_provision_enable']['es-cl'] = "Activado";
-$text['label-device_provision_enable']['pt-pt'] = "Activado";
-$text['label-device_provision_enable']['fr-fr'] = "Actif";
-$text['label-device_provision_enable']['pt-br'] = "Ativado";
-$text['label-device_provision_enable']['pl'] = "Włączony";
-$text['label-device_provision_enable']['uk'] = "";
-$text['label-device_provision_enable']['sv-se'] = "Aktiverad";
-$text['label-device_provision_enable']['de-at'] = "Ein";
-$text['label-device_provision_enable']['ar-eg'] = "";
-$text['label-device_provision_enable']['he'] = "מופעל";
+$text['label-device_enabled']['en-us'] = "Enabled";
+$text['label-device_enabled']['es-cl'] = "Activado";
+$text['label-device_enabled']['pt-pt'] = "Activado";
+$text['label-device_enabled']['fr-fr'] = "Actif";
+$text['label-device_enabled']['pt-br'] = "Ativado";
+$text['label-device_enabled']['pl'] = "Włączony";
+$text['label-device_enabled']['uk'] = "";
+$text['label-device_enabled']['sv-se'] = "Aktiverad";
+$text['label-device_enabled']['de-at'] = "Ein";
+$text['label-device_enabled']['ar-eg'] = "";
+$text['label-device_enabled']['he'] = "מופעל";
$text['label-device_password']['en-us'] = "Password";
$text['label-device_password']['es-cl'] = "Contraseña";
@@ -2124,18 +2124,18 @@ $text['description-device_template']['de-at'] = "Wählen Sie eine Vorlage.";
$text['description-device_template']['ar-eg'] = "";
$text['description-device_template']['he'] = "בחר תבנית";
-$text['description-device_provision_enable']['en-us'] = "Enable or disable provisioning for this device.";
-$text['description-device_provision_enable']['es-cl'] = "Active o desactive el provisionamiento para este dispositivo.";
-$text['description-device_provision_enable']['pt-pt'] = "Active ou Desactive o aprovisionamento para este dispositivo.";
-$text['description-device_provision_enable']['fr-fr'] = "";
-$text['description-device_provision_enable']['pt-br'] = "Ative ou desative o provisionamento para este dispositivo";
-$text['description-device_provision_enable']['pl'] = "Włącz lub wyłącz automatyczna konfiguracje tego urządzenia";
-$text['description-device_provision_enable']['uk'] = "";
-$text['description-device_provision_enable']['sv-se'] = "Aktivera eller av-aktivera provisionerna för denna enhet.";
-$text['description-device_provision_enable']['ro'] = "";
-$text['description-device_provision_enable']['de-at'] = "Bereitstellung ein oder ausschalten.";
-$text['description-device_provision_enable']['ar-eg'] = "";
-$text['description-device_provision_enable']['he'] = "";
+$text['description-device_enabled']['en-us'] = "Enable or disable provisioning for this device.";
+$text['description-device_enabled']['es-cl'] = "Active o desactive el provisionamiento para este dispositivo.";
+$text['description-device_enabled']['pt-pt'] = "Active ou Desactive o aprovisionamento para este dispositivo.";
+$text['description-device_enabled']['fr-fr'] = "";
+$text['description-device_enabled']['pt-br'] = "Ative ou desative o provisionamento para este dispositivo";
+$text['description-device_enabled']['pl'] = "Włącz lub wyłącz automatyczna konfiguracje tego urządzenia";
+$text['description-device_enabled']['uk'] = "";
+$text['description-device_enabled']['sv-se'] = "Aktivera eller av-aktivera provisionerna för denna enhet.";
+$text['description-device_enabled']['ro'] = "";
+$text['description-device_enabled']['de-at'] = "Bereitstellung ein oder ausschalten.";
+$text['description-device_enabled']['ar-eg'] = "";
+$text['description-device_enabled']['he'] = "";
$text['description-device_model']['en-us'] = "Enter the model name or number.";
$text['description-device_model']['es-cl'] = "Ingrese el nombre o número de modelo";
diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php
index 7f6a4c65e7..944e6008eb 100644
--- a/app/devices/device_edit.php
+++ b/app/devices/device_edit.php
@@ -152,7 +152,7 @@ require_once "resources/require.php";
$device_uuid_alternate = check_str($_POST["device_uuid_alternate"]);
$device_model = check_str($_POST["device_model"]);
$device_firmware_version = check_str($_POST["device_firmware_version"]);
- $device_provision_enable = check_str($_POST["device_provision_enable"]);
+ $device_enabled = check_str($_POST["device_enabled"]);
$device_template = check_str($_POST["device_template"]);
$device_description = check_str($_POST["device_description"]);
//lines
@@ -197,7 +197,7 @@ require_once "resources/require.php";
//if (strlen($device_vendor) == 0) { $msg .= "Please provide: Vendor
\n"; }
//if (strlen($device_model) == 0) { $msg .= "Please provide: Model
\n"; }
//if (strlen($device_firmware_version) == 0) { $msg .= "Please provide: Firmware Version
\n"; }
- //if (strlen($device_provision_enable) == 0) { $msg .= "Please provide: Enabled
\n"; }
+ //if (strlen($device_enabled) == 0) { $msg .= "Please provide: Enabled
\n"; }
//if (strlen($device_template) == 0) { $msg .= "Please provide: Template
\n"; }
//if (strlen($device_username) == 0) { $msg .= "Please provide: Username
\n"; }
//if (strlen($device_password) == 0) { $msg .= "Please provide: Password
\n"; }
@@ -349,7 +349,7 @@ require_once "resources/require.php";
$device_uuid_alternate = $row["device_uuid_alternate"];
$device_model = $row["device_model"];
$device_firmware_version = $row["device_firmware_version"];
- $device_provision_enable = $row["device_provision_enable"];
+ $device_enabled = $row["device_enabled"];
$device_template = $row["device_template"];
$device_profile_uuid = $row["device_profile_uuid"];
$device_description = $row["device_description"];
@@ -1449,17 +1449,17 @@ require_once "resources/require.php";
if (permission_exists('device_enable')) {
echo "