GUACAMOLE-547: Merge copy password from settings.

This commit is contained in:
Virtually Nick 2019-07-11 09:08:12 -04:00 committed by GitHub
commit 1a9d1e8b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,11 @@ static guac_common_ssh_user* guac_ssh_get_user(guac_client* client) {
} /* 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 */
guac_terminal_printf(ssh_client->term, "\x1B[H\x1B[J");