Fix auth for 13w41a

This commit is contained in:
Petr Mrázek
2013-10-11 16:13:01 +02:00
parent a9ceea27cc
commit f8b4c2c0b2
3 changed files with 4 additions and 2 deletions

View File

@ -264,6 +264,6 @@ void LoginTask::parseYggdrasilReply(QByteArray data)
};
*/
result = {uInfo.username, sessionID, playerName, playerID};
result = {uInfo.username, sessionID, playerName, playerID, accessToken};
emitSucceeded();
}

View File

@ -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;