mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Merge PR #1484: Password change from client increments config file revision
This commit is contained in:
commit
4657d7ee49
@ -940,6 +940,7 @@ UINT ChangePasswordAccept(CONNECTION *c, PACK *p)
|
|||||||
{
|
{
|
||||||
Copy(pw->HashedKey, new_password, SHA1_SIZE);
|
Copy(pw->HashedKey, new_password, SHA1_SIZE);
|
||||||
Copy(pw->NtLmSecureHash, new_password_ntlm, MD5_SIZE);
|
Copy(pw->NtLmSecureHash, new_password_ntlm, MD5_SIZE);
|
||||||
|
IncrementServerConfigRevision(cedar->Server);
|
||||||
}
|
}
|
||||||
HLog(hub, "LH_CHANGE_PASSWORD_5", c->Name, username);
|
HLog(hub, "LH_CHANGE_PASSWORD_5", c->Name, username);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user