mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Cedar: various fixes
This commit is contained in:
1 parent
a676a0a6fd
commit
76ae935172
8 files changed
+22
-10
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user