mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[SAMSRV] SamrChangePasswordUser: Check StoredLmEmpty and StoredNtEmpty instead of checking StoredNtEmpty twice
This commit is contained in:
parent
d1c376f37d
commit
b250eb5f3e
1 changed files with 1 additions and 1 deletions
|
@ -8306,7 +8306,7 @@ SamrChangePasswordUser(IN SAMPR_HANDLE UserHandle,
|
|||
}
|
||||
|
||||
/* Check if we can change the password at this time */
|
||||
if ((StoredNtEmpty == FALSE) || (StoredNtEmpty == FALSE))
|
||||
if ((StoredLmEmpty == FALSE) || (StoredNtEmpty == FALSE))
|
||||
{
|
||||
/* Get fixed domain data */
|
||||
Length = sizeof(SAM_DOMAIN_FIXED_DATA);
|
||||
|
|
Loading…
Reference in a new issue