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
This commit is contained in:
Hervé Poussineau 2007-06-04 08:23:45 +00:00
parent ef546be459
commit 01d55fc116

View file

@ -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))
{