1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 00:04:57 +03:00

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
2021-09-21 18:28:17 +09:00
committed by GitHub
parent 03859eb515
commit c9508b7fb7

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);
}