Commit d6f86876 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

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

parent ab179341
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment