Commit 8bee6946 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

credui: Return the state of the dialog's save checkbox to CredUIPromptForCredentials.

parent 9a032584
......@@ -462,6 +462,8 @@ static void CredDialogCommandOk(HWND hwndDlg, struct cred_dialog_params *params)
GetDlgItemTextW(hwndDlg, IDC_PASSWORD, params->pszPassword,
params->ulPasswordMaxChars);
params->fSave = IsDlgButtonChecked(hwndDlg, IDC_SAVE) == BST_CHECKED;
EndDialog(hwndDlg, IDOK);
}
......
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