mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
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:
commit
2aaf78b4ab
@ -333,12 +333,12 @@ function quickShellSettings()
|
|||||||
|
|
||||||
$gotty_user = get_parameter(
|
$gotty_user = get_parameter(
|
||||||
'gotty_user',
|
'gotty_user',
|
||||||
$config['gotty_user']
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
$gotty_pass = get_parameter(
|
$gotty_pass = get_parameter(
|
||||||
'gotty_pass',
|
'gotty_pass',
|
||||||
io_output_password($config['gotty_pass'])
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
$gotty_pass = io_input_password($gotty_pass);
|
$gotty_pass = io_input_password($gotty_pass);
|
||||||
@ -373,6 +373,7 @@ function quickShellSettings()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($config['gotty_pass'] != $gotty_pass) {
|
if ($config['gotty_pass'] != $gotty_pass) {
|
||||||
|
$gotty_pass = io_input_password($gotty_pass);
|
||||||
config_update_value('gotty_pass', $gotty_pass);
|
config_update_value('gotty_pass', $gotty_pass);
|
||||||
$changes++;
|
$changes++;
|
||||||
$critical++;
|
$critical++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user