diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-10-11 16:13:01 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-10-11 16:13:01 +0200 |
commit | f8b4c2c0b25f89017db2702b60d47df7376b32e6 (patch) | |
tree | 0415568ad3081da755027091ba254f157606f06d /logic/net | |
parent | a9ceea27cccc7c59be2e5b19e29431e6c0a6b335 (diff) | |
download | MultiMC-f8b4c2c0b25f89017db2702b60d47df7376b32e6.tar MultiMC-f8b4c2c0b25f89017db2702b60d47df7376b32e6.tar.gz MultiMC-f8b4c2c0b25f89017db2702b60d47df7376b32e6.tar.lz MultiMC-f8b4c2c0b25f89017db2702b60d47df7376b32e6.tar.xz MultiMC-f8b4c2c0b25f89017db2702b60d47df7376b32e6.zip |
Fix auth for 13w41a
Diffstat (limited to 'logic/net')
-rw-r--r-- | logic/net/LoginTask.cpp | 2 | ||||
-rw-r--r-- | logic/net/LoginTask.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/logic/net/LoginTask.cpp b/logic/net/LoginTask.cpp index 5de8efa9..90aac74a 100644 --- a/logic/net/LoginTask.cpp +++ b/logic/net/LoginTask.cpp @@ -264,6 +264,6 @@ void LoginTask::parseYggdrasilReply(QByteArray data) }; */ - result = {uInfo.username, sessionID, playerName, playerID}; + result = {uInfo.username, sessionID, playerName, playerID, accessToken}; emitSucceeded(); } diff --git a/logic/net/LoginTask.h b/logic/net/LoginTask.h index ba87142d..daea18af 100644 --- a/logic/net/LoginTask.h +++ b/logic/net/LoginTask.h @@ -27,9 +27,10 @@ struct UserInfo struct LoginResponse { QString username; - QString session_id; + QString session_id; // session id is a combination of player id and the access token QString player_name; QString player_id; + QString access_token; }; class QNetworkReply; |