diff options
| author | Nils Maier <maierman@web.de> | 2014-07-21 08:11:14 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-07-22 21:58:30 +0200 |
| commit | 70a80b1455e11e5572eac4bd4b7ca647c45bbf81 (patch) | |
| tree | 15163a8de5f76f74cfa87ec1a5ff06069e26b58a /src/RpcMethodImpl.cc | |
| parent | 8f2af33b6dd33e7937480e37f06d325e812dee8f (diff) | |
Remove request pre-authorization again
Diffstat (limited to 'src/RpcMethodImpl.cc')
| -rw-r--r-- | src/RpcMethodImpl.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/RpcMethodImpl.cc b/src/RpcMethodImpl.cc index eb1a094f..7ad466dd 100644 --- a/src/RpcMethodImpl.cc +++ b/src/RpcMethodImpl.cc @@ -1367,7 +1367,6 @@ std::unique_ptr<ValueBase> SystemMulticallRpcMethod::process RpcResponse SystemMulticallRpcMethod::execute(RpcRequest req, DownloadEngine *e) { - auto preauthorized = RpcRequest::MUST_AUTHORIZE; auto authorized = RpcResponse::AUTHORIZED; try { const List* methodSpecs = checkRequiredParam<List>(req, 0); @@ -1403,14 +1402,11 @@ RpcResponse SystemMulticallRpcMethod::execute(RpcRequest req, DownloadEngine *e) methodName->s(), std::move(paramsList), nullptr, - preauthorized, req.jsonRpc }; RpcResponse res = getMethod(methodName->s())->execute(std::move(r), e); if(rpc::not_authorized(res)) { authorized = RpcResponse::NOTAUTHORIZED; - } else { - preauthorized = RpcRequest::PREAUTHORIZED; } if(res.code == 0) { auto l = List::g(); |
