Merge branch 'ent-11609-15731-Copiando-de-contraseñas-incorrectas-de-monitores-WMI-usando-encriptacion-de-contraseñas' into 'develop'

fix pass encryption

See merge request artica/pandorafms!6153
This commit is contained in:
Daniel Rodriguez 2023-08-18 06:45:29 +00:00
commit 3ed7f222e4
1 changed files with 1 additions and 1 deletions

View File

@ -793,7 +793,7 @@ function modules_create_agent_module(
// Encrypt passwords. // Encrypt passwords.
if (isset($values['plugin_pass']) === true) { if (isset($values['plugin_pass']) === true) {
// Avoid two times encryption. // Avoid two times encryption.
$plugin_pass = io_safe_output($values['plugin_pass']); $plugin_pass = io_output_password($values['plugin_pass']);
$values['plugin_pass'] = io_input_password($plugin_pass); $values['plugin_pass'] = io_input_password($plugin_pass);
} }