Fix: PromptCredentialsOnce / GatewayUseCredentials were always set to true regardless of the value present in the rdp file.

This commit is contained in:
Benoît LeBlanc 2013-12-12 11:32:36 -05:00
parent bf094ed997
commit 469303a545
2 changed files with 2 additions and 2 deletions

View File

@ -881,7 +881,7 @@ BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings*
}
if (~file->PromptCredentialOnce)
freerdp_set_param_bool(settings, FreeRDP_GatewayUseSameCredentials, TRUE);
freerdp_set_param_bool(settings, FreeRDP_GatewayUseSameCredentials, file->PromptCredentialOnce);
if (~file->RemoteApplicationMode)
freerdp_set_param_bool(settings, FreeRDP_RemoteApplicationMode, file->RemoteApplicationMode);

View File

@ -380,7 +380,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
settings->MultifragMaxRequestSize = 0xFFFF;
settings->GatewayUseSameCredentials = TRUE;
settings->GatewayUseSameCredentials = FALSE;
settings->FastPathInput = TRUE;
settings->FastPathOutput = TRUE;