summaryrefslogtreecommitdiffstats
path: root/logic/auth/flows/AuthenticateTask.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-14 01:18:54 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-14 01:18:54 +0100
commitbbd17b6224ea1cbccbe602a123b828b20ec5619f (patch)
tree317a73a487402deaadba6cf3a8941e72242d7b66 /logic/auth/flows/AuthenticateTask.cpp
parent1e96a0c8eba2d932e08a33ec909cf8141f1aaa43 (diff)
downloadMultiMC-bbd17b6224ea1cbccbe602a123b828b20ec5619f.tar
MultiMC-bbd17b6224ea1cbccbe602a123b828b20ec5619f.tar.gz
MultiMC-bbd17b6224ea1cbccbe602a123b828b20ec5619f.tar.lz
MultiMC-bbd17b6224ea1cbccbe602a123b828b20ec5619f.tar.xz
MultiMC-bbd17b6224ea1cbccbe602a123b828b20ec5619f.zip
Fix twitch
Diffstat (limited to 'logic/auth/flows/AuthenticateTask.cpp')
-rw-r--r--logic/auth/flows/AuthenticateTask.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/logic/auth/flows/AuthenticateTask.cpp b/logic/auth/flows/AuthenticateTask.cpp
index cc26cd1b..f60be35d 100644
--- a/logic/auth/flows/AuthenticateTask.cpp
+++ b/logic/auth/flows/AuthenticateTask.cpp
@@ -162,23 +162,17 @@ bool AuthenticateTask::processResponse(QJsonObject responseData)
}
// this is what the vanilla launcher passes to the userProperties launch param
- // doesn't seem to be used for anything so far? I don't get any of this data on my account
- // (peterixxx)
- // is it a good idea to log this?
if (responseData.contains("user"))
{
User u;
auto obj = responseData.value("user").toObject();
u.id = obj.value("id").toString();
- QLOG_DEBUG() << "User ID: " << u.id ;
auto propArray = obj.value("properties").toArray();
- QLOG_DEBUG() << "User Properties: ";
for (auto prop : propArray)
{
auto propTuple = prop.toObject();
auto name = propTuple.value("name").toString();
auto value = propTuple.value("value").toString();
- QLOG_DEBUG() << name << " : " << value;
u.properties.insert(name, value);
}
m_account->m_user = u;