mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 20:04:11 +08:00
Do not prompt if blank password was provided
This commit is contained in:
parent
59ae00baaa
commit
a4df4f7bbf
@ -190,8 +190,7 @@ static int nla_client_init(rdpNla* nla)
|
|||||||
settings->DisableCredentialsDelegation = TRUE;
|
settings->DisableCredentialsDelegation = TRUE;
|
||||||
|
|
||||||
if ((!settings->Username) || (!strlen(settings->Username))
|
if ((!settings->Username) || (!strlen(settings->Username))
|
||||||
|| (((!settings->Password) || (!strlen(settings->Password)))
|
|| ((!settings->Password) && (!settings->RedirectionPassword)))
|
||||||
&& (!settings->RedirectionPassword)))
|
|
||||||
{
|
{
|
||||||
PromptPassword = TRUE;
|
PromptPassword = TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user