GUAC-1264: Use proper parameter for SFTP password within RDP.
This commit is contained in:
parent
ec595b9cff
commit
6f48ebe7fe
@ -857,7 +857,7 @@ int guac_client_init(guac_client* client, int argc, char** argv) {
|
||||
"Authenticating with password.");
|
||||
|
||||
/* Parse password - use RDP password by default */
|
||||
const char* sftp_password = argv[IDX_SFTP_USERNAME];
|
||||
const char* sftp_password = argv[IDX_SFTP_PASSWORD];
|
||||
if (sftp_password[0] == '\0' && settings->password != NULL)
|
||||
sftp_password = settings->password;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user