diff options
| author | Jonas Schnelli <[email protected]> | 2016-09-22 09:58:13 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-10-19 14:47:27 +0200 |
| commit | e7156ad61be2fe935fdb64e9d0e877fa0e9f7f9e (patch) | |
| tree | 19dcb95789fea3e6d168a7b2e1ecb7d66a5e006f /src/rpc/server.h | |
| parent | [RPC] Give RPC commands more information about the RPC request (diff) | |
| download | discoin-e7156ad61be2fe935fdb64e9d0e877fa0e9f7f9e.tar.xz discoin-e7156ad61be2fe935fdb64e9d0e877fa0e9f7f9e.zip | |
[RPC] pass HTTP basic authentication username to the JSONRequest object
Diffstat (limited to 'src/rpc/server.h')
| -rw-r--r-- | src/rpc/server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/server.h b/src/rpc/server.h index d8b509703..c59886222 100644 --- a/src/rpc/server.h +++ b/src/rpc/server.h @@ -49,8 +49,9 @@ public: UniValue params; bool fHelp; std::string URI; + std::string authUser; - JSONRPCRequest() { id = NullUniValue; } + JSONRPCRequest() { id = NullUniValue; params = NullUniValue; fHelp = false; } void parse(const UniValue& valRequest); }; |