diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 6c3770fa09..d153f6f43a 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -95,7 +95,7 @@ $device_label = $_POST["device_label"]; $device_user_uuid = $_POST["device_user_uuid"]; $device_username = $_POST["device_username"]; - $device_username = $_POST["device_username"]; + $device_password = $_POST["device_password"]; $device_vendor = $_POST["device_vendor"]; $device_uuid_alternate = $_POST["device_uuid_alternate"]; $device_model = $_POST["device_model"]; @@ -225,6 +225,7 @@ $array['devices'][0]['device_label'] = $device_label; $array['devices'][0]['device_user_uuid'] = $device_user_uuid; $array['devices'][0]['device_username'] = $device_username; + $array['devices'][0]['device_password'] = $device_password; $array['devices'][0]['device_vendor'] = $device_vendor; $array['devices'][0]['device_uuid_alternate'] = $device_uuid_alternate; $array['devices'][0]['device_model'] = $device_model;