From 3039b0626beebca0570a5f47625f283eb8816d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Fri, 20 Sep 2019 15:25:05 -0400 Subject: [PATCH] server_account_manager: set name server uri instead of account Change-Id: Ib86ac365eca1491390013af75ec6b928a289222e --- src/jamidht/server_account_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jamidht/server_account_manager.cpp b/src/jamidht/server_account_manager.cpp index 8b530f7a32..ca1ee52d8e 100644 --- a/src/jamidht/server_account_manager.cpp +++ b/src/jamidht/server_account_manager.cpp @@ -166,7 +166,7 @@ ServerAccountManager::initAuthentication( //auto info = useIdentity(); std::map<std::string, std::string> config; if (json.isMember("nameServer")) { - config.emplace(DRing::Account::ConfProperties::RingNS::ACCOUNT, json["nameServer"].asString()); + config.emplace(DRing::Account::ConfProperties::RingNS::URI, json["nameServer"].asString()); } if (json.isMember("displayName")) { config.emplace(DRing::Account::ConfProperties::DISPLAYNAME, json["displayName"].asString()); -- GitLab