mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 00:55:48 +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 */
|
/* Check if we can change the password at this time */
|
||||||
if ((StoredNtEmpty == FALSE) || (StoredNtEmpty == FALSE))
|
if ((StoredLmEmpty == FALSE) || (StoredNtEmpty == FALSE))
|
||||||
{
|
{
|
||||||
/* Get fixed domain data */
|
/* Get fixed domain data */
|
||||||
Length = sizeof(SAM_DOMAIN_FIXED_DATA);
|
Length = sizeof(SAM_DOMAIN_FIXED_DATA);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue