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:
commit
3ed7f222e4
|
@ -793,7 +793,7 @@ function modules_create_agent_module(
|
|||
// Encrypt passwords.
|
||||
if (isset($values['plugin_pass']) === true) {
|
||||
// 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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue