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:
parent
03859eb515
commit
c9508b7fb7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user