MultiProfile Login issue workaround for now
Signed-off-by: ZhiYi <RobertBernard.c01@gmail.com>
This commit is contained in:
parent
2113df5d8d
commit
5d803ccc86
@ -216,7 +216,7 @@ void Yggdrasil::processResponse(QJsonObject responseData)
|
|||||||
m_data->yggdrasilToken.issueInstant = QDateTime::currentDateTimeUtc();
|
m_data->yggdrasilToken.issueInstant = QDateTime::currentDateTimeUtc();
|
||||||
|
|
||||||
// Get UUID here since we need it for later
|
// 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");
|
auto profile = responseData.value("selectedProfile");
|
||||||
if (!profile.isObject()) {
|
if (!profile.isObject()) {
|
||||||
auto profiles = responseData.value("availableProfiles");
|
auto profiles = responseData.value("availableProfiles");
|
||||||
|
Loading…
Reference in New Issue
Block a user