Hans Leidekker : credui: Don' t save credentials if CREDUI_FLAGS_DO_NOT_PERSIST is specified.
Module: wine Branch: master Commit: d6f8687630b3702e91aee5dadc5fd6b1842ba879 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d6f8687630b3702e91aee5dadc... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Thu Oct 18 14:16:21 2012 +0200 credui: Don't save credentials if CREDUI_FLAGS_DO_NOT_PERSIST is specified. --- dlls/credui/credui_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); }
participants (1)
-
Alexandre Julliard