[2/3] credui: Don't save credentials if CREDUI_FLAGS_DO_NOT_PERSIST is specified.
Hans Leidekker
hans at codeweavers.com
Thu Oct 18 07:16:21 CDT 2012
---
dlls/credui/credui_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index e3e964f..b470928 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -655,7 +655,7 @@ DWORD WINAPI CredUIPromptForCredentialsW(PCREDUI_INFOW pUIInfo,
LeaveCriticalSection(&csPendingCredentials);
}
- else
+ else if (!(dwFlags & CREDUI_FLAGS_DO_NOT_PERSIST))
result = save_credentials(pszTargetName, pszUsername, pszPassword,
(dwFlags & CREDUI_FLAGS_GENERIC_CREDENTIALS) != 0);
}
--
1.7.10.4
More information about the wine-patches
mailing list