1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-26 01:59:53 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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