credui: Don't save credentials if CREDUI_FLAGS_DO_NOT_PERSIST is specified.

This commit is contained in:
Hans Leidekker 2012-10-18 14:16:21 +02:00 committed by Alexandre Julliard
parent ab179341e2
commit d6f8687630
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo,
LeaveCriticalSection(&csPendingCredentials); LeaveCriticalSection(&csPendingCredentials);
} }
else else if (!(dwFlags & CREDUI_FLAGS_DO_NOT_PERSIST))
result = save_credentials(pszTargetName, pszUsername, pszPassword, result = save_credentials(pszTargetName, pszUsername, pszPassword,
(dwFlags & CREDUI_FLAGS_GENERIC_CREDENTIALS) != 0); (dwFlags & CREDUI_FLAGS_GENERIC_CREDENTIALS) != 0);
} }