Skip to content
Snippets Groups Projects
Commit 6c91fa7b authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

account manager: cleanup

Change-Id: Iaa5ab5b30421e60dcffeba7d1a37fe80b4689beb
parent bd13892e
Branches
No related tags found
No related merge requests found
......@@ -96,7 +96,6 @@ ServerAccountManager::initAuthentication(
request->set_body(ss.str());
}
setHeaderFields(*request);
request->set_header_field(restinio::http_field_t::expect, "100-continue");
request->add_on_state_change_callback([reqid, ctx, onAsync = onAsync_]
(Request::State state, const dht::http::Response& response){
......@@ -163,7 +162,6 @@ ServerAccountManager::initAuthentication(
this_.creds_ = std::move(ctx->credentials);
this_.info_ = std::move(info);
//auto info = useIdentity();
std::map<std::string, std::string> config;
if (json.isMember("nameServer")) {
config.emplace(DRing::Account::ConfProperties::RingNS::URI, json["nameServer"].asString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment