MultiProfile Login issue workaround for now

Signed-off-by: ZhiYi <RobertBernard.c01@gmail.com>
This commit is contained in:
ZhiYi 2024-09-14 17:48:37 +08:00
parent 2113df5d8d
commit 5d803ccc86

View File

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