Cedar: various fixes

This commit is contained in:
dnobori authored and Davide Beatrici committed 2019-11-23 04:23:51 +01:00
1 parent a676a0a6fd
commit 76ae935172
8 files changed
+22 -10

No files matched your search

+9
View File
@@ -9696,6 +9696,15 @@ UINT StSetFarmSetting(ADMIN *a, RPC_FARM *t)
return ERR_NOT_SUPPORTED;
}
if (IsZero(t->MemberPassword, sizeof(t->MemberPassword)))
{
if (IsEmptyStr(t->MemberPasswordPlaintext) == false)
{
// For JSON-RPC
HashAdminPassword(t->MemberPassword, t->MemberPasswordPlaintext);
}
}
ALog(a, NULL, "LA_SET_FARM_SETTING");
IncrementServerConfigRevision(a->Server);