Fix auth for 13w41a
This commit is contained in:
@ -264,6 +264,6 @@ void LoginTask::parseYggdrasilReply(QByteArray data)
|
||||
};
|
||||
*/
|
||||
|
||||
result = {uInfo.username, sessionID, playerName, playerID};
|
||||
result = {uInfo.username, sessionID, playerName, playerID, accessToken};
|
||||
emitSucceeded();
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user