From 01d55fc11692b0a7be5a8fcef05dba9910588cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 4 Jun 2007 08:23:45 +0000 Subject: [PATCH] Do not force user to enter an admin password This decision needs to be reconsidered once ReactOS has a better security (lsass...) svn path=/trunk/; revision=26986 --- reactos/dll/win32/syssetup/wizard.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/dll/win32/syssetup/wizard.c b/reactos/dll/win32/syssetup/wizard.c index 0821a8c8965..5f76f9cd112 100644 --- a/reactos/dll/win32/syssetup/wizard.c +++ b/reactos/dll/win32/syssetup/wizard.c @@ -650,6 +650,7 @@ ComputerPageDlgProc(HWND hwndDlg, return TRUE; } +#if 0 /* Check if admin passwords have been entered */ if ((GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD1, Password1, 15) == 0) || (GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD2, Password2, 15) == 0)) @@ -663,6 +664,10 @@ ComputerPageDlgProc(HWND hwndDlg, SetWindowLong(hwndDlg, DWL_MSGRESULT, -1); return TRUE; } +#else + GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD1, Password1, 15); + GetDlgItemText(hwndDlg, IDC_ADMINPASSWORD2, Password2, 15); +#endif /* Check if passwords match */ if (_tcscmp(Password1, Password2)) {