mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Fix account name in wrong case after editing
This commit is contained in:
parent
5ecade7950
commit
d95d8ddefa
@ -6597,6 +6597,9 @@ bool CtGetAccount(CLIENT *c, RPC_CLIENT_GET_ACCOUNT *a)
|
|||||||
|
|
||||||
Lock(r->lock);
|
Lock(r->lock);
|
||||||
{
|
{
|
||||||
|
// Copy account name (restore the correct case)
|
||||||
|
UniStrCpy(a->AccountName, sizeof(a->AccountName), r->ClientOption->AccountName);
|
||||||
|
|
||||||
// Copy the client option
|
// Copy the client option
|
||||||
if (a->ClientOption != NULL)
|
if (a->ClientOption != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user