mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Change the security model for RPC admin access.
This commit is contained in:
@@ -37,6 +37,7 @@ bool RPCDoor::isClientAllowed(const std::string& ip)
|
||||
{
|
||||
if (theConfig.RPC_ALLOW_REMOTE)
|
||||
return true;
|
||||
|
||||
if (ip == "127.0.0.1")
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user