Author: hpoussin Date: Mon Jun 4 12:23:45 2007 New Revision: 26986
URL: http://svn.reactos.org/svn/reactos?rev=26986&view=rev Log: Do not force user to enter an admin password This decision needs to be reconsidered once ReactOS has a better security (lsass...)
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
Modified: trunk/reactos/dll/win32/syssetup/wizard.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.c... ============================================================================== --- trunk/reactos/dll/win32/syssetup/wizard.c (original) +++ trunk/reactos/dll/win32/syssetup/wizard.c Mon Jun 4 12:23:45 2007 @@ -650,6 +650,7 @@ 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 @@ 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)) {