diff --git a/client/Windows/wf_client.c b/client/Windows/wf_client.c index c5c6f1603..c156d8a07 100644 --- a/client/Windows/wf_client.c +++ b/client/Windows/wf_client.c @@ -519,7 +519,7 @@ static BOOL wf_authenticate_raw(freerdp* instance, const char* title, ZeroMemory(Password, sizeof(Password)); dwFlags = CREDUI_FLAGS_DO_NOT_PERSIST | CREDUI_FLAGS_EXCLUDE_CERTIFICATES; - status = CredUIPromptForCredentialsA(&wfUiInu, title, NULL, 0 + status = CredUIPromptForCredentialsA(&wfUiInfo, title, NULL, 0 UserName, CREDUI_MAX_USERNAME_LENGTH + 1, Password, CREDUI_MAX_PASSWORD_LENGTH + 1, &fSave, dwFlags);