mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-07 08:14:58 +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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user