Merge branch 'ent-3178-integrar-terminal-web-en-la-consola-de-pandora-y-explorar-otras-utilidades-anyterm-replace' into 'develop'

allow to remove user/pass from quick_shell configuration

See merge request artica/pandorafms!2878
This commit is contained in:
Alejandro Fraguas 2019-11-12 13:45:49 +01:00
commit 2aaf78b4ab
1 changed files with 3 additions and 2 deletions

View File

@ -333,12 +333,12 @@ function quickShellSettings()
$gotty_user = get_parameter(
'gotty_user',
$config['gotty_user']
''
);
$gotty_pass = get_parameter(
'gotty_pass',
io_output_password($config['gotty_pass'])
''
);
$gotty_pass = io_input_password($gotty_pass);
@ -373,6 +373,7 @@ function quickShellSettings()
}
if ($config['gotty_pass'] != $gotty_pass) {
$gotty_pass = io_input_password($gotty_pass);
config_update_value('gotty_pass', $gotty_pass);
$changes++;
$critical++;