mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[SYSSETUP] Added a flag for mandatory password (#2500)
Use a human-readable #define flag 'PASSWORDS_MANDATORY' instead of the #if 0. See also CORE-8038.
This commit is contained in:
@@ -939,7 +939,7 @@ ComputerPageDlgProc(HWND hwndDlg,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#if 0
|
||||
#ifdef PASSWORDS_MANDATORY
|
||||
/* Check if admin passwords have been entered */
|
||||
if ((GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD1, Password1, 128) == 0) ||
|
||||
(GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD2, Password2, 128) == 0))
|
||||
|
||||
Reference in New Issue
Block a user