Remove auth
This commit is contained in:
@@ -88,7 +88,7 @@ void LaunchController::decideAccount()
|
||||
|
||||
// Find an account to use.
|
||||
auto accounts = APPLICATION->accounts();
|
||||
if (accounts->count() <= 0 || !accounts->anyAccountIsValid()) {
|
||||
if (false) {
|
||||
// Tell the user they need to log in at least one account in order to play.
|
||||
auto reply = CustomMessageBox::selectable(m_parentWidget, tr("No Accounts"),
|
||||
tr("In order to play Minecraft, you must have at least one Microsoft "
|
||||
@@ -238,7 +238,7 @@ void LaunchController::login()
|
||||
|
||||
MinecraftAccountPtr accountToCheck;
|
||||
|
||||
if (m_accountToUse->ownsMinecraft())
|
||||
if (true)
|
||||
accountToCheck = m_accountToUse;
|
||||
else if (const MinecraftAccountPtr defaultAccount = APPLICATION->accounts()->defaultAccount();
|
||||
defaultAccount != nullptr && defaultAccount->ownsMinecraft()) {
|
||||
@@ -263,7 +263,7 @@ void LaunchController::login()
|
||||
return;
|
||||
}
|
||||
|
||||
switch (accountToCheck->accountState()) {
|
||||
switch (AccountState::Online) {
|
||||
case AccountState::Offline: {
|
||||
m_session->wants_online = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user