GUACAMOLE-547: Do not ignore password from settings.

This commit is contained in:
fgiuba 2019-07-05 17:51:36 +02:00
parent 7e9b97007e
commit 9228d2637a

View File

@ -130,6 +130,11 @@ static guac_common_ssh_user* guac_ssh_get_user(guac_client* client) {
} /* end if key given */ } /* end if key given */
/* If available, get password from settings */
else if (settings->password != NULL){
guac_common_ssh_user_set_password(user, settings->password);
}
/* Clear screen of any prompts */ /* Clear screen of any prompts */
guac_terminal_printf(ssh_client->term, "\x1B[H\x1B[J"); guac_terminal_printf(ssh_client->term, "\x1B[H\x1B[J");