mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
afscreds-aklog-only-20040626
Modify the Obtain Tokens dialog to allow a blank password if a full principal name is provided. (for aklog only requests)
This commit is contained in:
parent
d261456065
commit
a193405623
@ -336,11 +336,12 @@ void NewCreds_OnEnable (HWND hDlg)
|
||||
if (!szUser[0])
|
||||
fEnable = FALSE;
|
||||
|
||||
if ( !strchr(szUser, '@') ) {
|
||||
TCHAR szPassword[ cchRESOURCE ];
|
||||
GetDlgItemText (hDlg, IDC_NEWCREDS_PASSWORD, szPassword, cchRESOURCE);
|
||||
if (!szPassword[0])
|
||||
fEnable = FALSE;
|
||||
|
||||
}
|
||||
EnableWindow (GetDlgItem (hDlg, IDOK), fEnable);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user