https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1769793bd1506e61cd8ac…
commit 1769793bd1506e61cd8ac30e0640f2c5604ea243
Author: Erkin Alp Güney <erkinalp9035(a)gmail.com>
AuthorDate: Wed Apr 15 13:50:36 2020 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Wed Apr 15 12:50:36 2020 +0200
[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.
---
dll/win32/syssetup/wizard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/syssetup/wizard.c b/dll/win32/syssetup/wizard.c
index c5f4ce8174c..589a6101ab6 100644
--- a/dll/win32/syssetup/wizard.c
+++ b/dll/win32/syssetup/wizard.c
@@ -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))