Skip to content

Commit

Permalink
MultiProfile Login issue workaround for now
Browse files Browse the repository at this point in the history
Signed-off-by: ZhiYi <[email protected]>
  • Loading branch information
ZhiYi authored and ZhiYi committed Sep 14, 2024
1 parent 2113df5 commit 5d803cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher/minecraft/auth/Yggdrasil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ void Yggdrasil::processResponse(QJsonObject responseData)
m_data->yggdrasilToken.issueInstant = QDateTime::currentDateTimeUtc();

// Get UUID here since we need it for later
// FIXME: Here is a simple workaround for now,, which uses the first available profile when selectedProfile is not provided.
// FIXME: Here is a simple workaround for now,, which uses the first available profile when selectedProfile is not provided
auto profile = responseData.value("selectedProfile");
if (!profile.isObject()) {
auto profiles = responseData.value("availableProfiles");
Expand Down

0 comments on commit 5d803cc

Please sign in to comment.