GUACAMOLE-547: Merge copy password from settings.
This commit is contained in:
commit
1a9d1e8b71
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user