[core,nla] remove platform guards for PasswordHash

Fixes #10507: do not ask for password if PasswordHash is supplied on
windows.
This commit is contained in:
akallabeth 2024-08-26 09:23:10 +02:00
parent 86e2789d9b
commit 679de71056
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -332,7 +332,6 @@ static BOOL nla_client_setup_identity(rdpNla* nla)
}
}
#ifndef _WIN32
if (PromptPassword)
{
if (settings->RestrictedAdminModeRequired)
@ -344,7 +343,6 @@ static BOOL nla_client_setup_identity(rdpNla* nla)
if (settings->RemoteCredentialGuard)
PromptPassword = FALSE;
}
#endif
BOOL smartCardLogonWasDisabled = !settings->SmartcardLogon;
if (PromptPassword)