Password change from client increments config file revision

Fixed an issue where changing the password from the client did not increment the revision of the server config file and the changes were not saved
This commit is contained in:
Tetsuo Sugiyama authored and GitHub committed 2021-09-21 18:28:17 +09:00
1 parent 03859eb515
commit c9508b7fb7
1 file changed
+1
+1
View File
@@ -940,6 +940,7 @@ UINT ChangePasswordAccept(CONNECTION *c, PACK *p)
{
Copy(pw->HashedKey, new_password, SHA1_SIZE);
Copy(pw->NtLmSecureHash, new_password_ntlm, MD5_SIZE);
IncrementServerConfigRevision(cedar->Server);
}
HLog(hub, "LH_CHANGE_PASSWORD_5", c->Name, username);
}