Unverified Commit 9734b125 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

newaccountmodel: use MANAGER_USERNAME instead of USERNAME

Change-Id: I02c4acf0b2867ad9228dc659c3f4407a0fb655f1
parent 2572d43e
......@@ -875,9 +875,9 @@ NewAccountModel::connectToAccountManager(const std::string& username,
MapStringString details = ConfigurationManager::instance().getAccountTemplate("RING");
using namespace DRing::Account;
details[ConfProperties::TYPE] = "RING";
details[ConfProperties::USERNAME] = username.c_str();
details[ConfProperties::ARCHIVE_PASSWORD] = password.c_str();
details[ConfProperties::MANAGER_URI] = serverUri.c_str();
details[ConfProperties::MANAGER_USERNAME] = username.c_str();
details[ConfProperties::ARCHIVE_PASSWORD] = password.c_str();
QString accountId = ConfigurationManager::instance().addAccount(details);
return accountId.toStdString();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment