From d95d8ddefa88abf319abd308ded70a4b9be54808 Mon Sep 17 00:00:00 2001 From: Yihong Wu <54519668+domosekai@users.noreply.github.com> Date: Thu, 16 Dec 2021 01:56:29 +0800 Subject: [PATCH] Fix account name in wrong case after editing --- src/Cedar/Client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Cedar/Client.c b/src/Cedar/Client.c index 1c40787b..a45aff43 100644 --- a/src/Cedar/Client.c +++ b/src/Cedar/Client.c @@ -6597,6 +6597,9 @@ bool CtGetAccount(CLIENT *c, RPC_CLIENT_GET_ACCOUNT *a) Lock(r->lock); { + // Copy account name (restore the correct case) + UniStrCpy(a->AccountName, sizeof(a->AccountName), r->ClientOption->AccountName); + // Copy the client option if (a->ClientOption != NULL) {