mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
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:
parent
ef546be459
commit
01d55fc116
1 changed files with 5 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue