[core,nla]: Fix using password from redirection

If a client reconnects on redirection process and uses NLA authentication,
the client was using the old password because it wasn't setting
usePassword to false.

With this commit the client will use the new password.
This commit is contained in:
Joan Torres 2023-03-07 12:05:35 +01:00 committed by akallabeth
parent 5f8e64f89c
commit 689bf6daab
1 changed files with 2 additions and 0 deletions

View File

@ -391,6 +391,8 @@ static BOOL nla_client_setup_identity(rdpNla* nla)
(const WCHAR*)settings->RedirectionPassword,
settings->RedirectionPasswordLength / sizeof(WCHAR) - 1) < 0)
return FALSE;
usePassword = FALSE;
}
if (settings->RestrictedAdminModeRequired)