mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 13:05:53 +00:00
Don't show our validation key in non-admin server_info.
This commit is contained in:
@@ -1305,7 +1305,7 @@ Json::Value RPCHandler::doServerInfo(Json::Value)
|
||||
{
|
||||
Json::Value ret(Json::objectValue);
|
||||
|
||||
ret["info"] = theApp->getOPs().getServerInfo();
|
||||
ret["info"] = theApp->getOPs().getServerInfo(mRole == ADMIN);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user