diff --git a/pandora_console/godmode/modules/manage_network_components_form_network.php b/pandora_console/godmode/modules/manage_network_components_form_network.php index f3ec8f7ebc..3e51d24b36 100755 --- a/pandora_console/godmode/modules/manage_network_components_form_network.php +++ b/pandora_console/godmode/modules/manage_network_components_form_network.php @@ -57,7 +57,7 @@ $data = array(); $data[0] = __('Auth user'); $data[1] = html_print_input_text ('snmp3_auth_user', $snmp3_auth_user, '', 15, 60, true); $data[2] = __('Auth password'); -$data[3] = html_print_input_text ('snmp3_auth_pass', $snmp3_auth_pass, '', 15, 60, true); +$data[3] = html_print_input_password ('snmp3_auth_pass', $snmp3_auth_pass, '', 15, 60, true); $data[3] .= html_print_input_hidden('active_snmp_v3', 0, true); push_table_row($data, 'field_snmpv3_row1'); @@ -65,7 +65,7 @@ $data = array(); $data[0] = __('Privacy method'); $data[1] = html_print_select(array('DES' => __('DES'), 'AES' => __('AES')), 'snmp3_privacy_method', $snmp3_privacy_method, '', '', '', true); $data[2] = __('Privacy pass'); -$data[3] = html_print_input_text ('snmp3_privacy_pass', $snmp3_privacy_pass, '', 15, 60, true); +$data[3] = html_print_input_password ('snmp3_privacy_pass', $snmp3_privacy_pass, '', 15, 60, true); push_table_row($data, 'field_snmpv3_row2'); $data = array(); diff --git a/pandora_console/include/javascript/pandora_modules.js b/pandora_console/include/javascript/pandora_modules.js index 96edb8d26b..cfba698db9 100644 --- a/pandora_console/include/javascript/pandora_modules.js +++ b/pandora_console/include/javascript/pandora_modules.js @@ -382,10 +382,10 @@ function configure_modules_form () { if (data["type"] >= 15 && data["type"] <= 18) { $("#snmp_version").val(data["tcp_send"]); $("#text-snmp3_auth_user").val(data["plugin_user"]); - $("#text-snmp3_auth_pass").val(data["plugin_pass"]); + $("#password-snmp3_auth_pass").val(data["plugin_pass"]); $("#snmp3_auth_method").val(data["plugin_parameter"]); $("#snmp3_privacy_method").val(data["custom_string_1"]); - $("#text-snmp3_privacy_pass").val(data["custom_string_2"]); + $("#password-snmp3_privacy_pass").val(data["custom_string_2"]); $("#snmp3_security_level").val(data["custom_string_3"]); if (data["tcp_send"] == "3") {