feat(accounts): add disabled account state

This commit is contained in:
Sefa Eyeoglu
2022-02-18 12:26:52 +01:00
parent be910374dc
commit 9c71f364d2
6 changed files with 28 additions and 0 deletions

View File

@ -176,6 +176,9 @@ void MinecraftAccount::authFailed(QString reason)
{
switch (m_currentTask->taskState()) {
case AccountTaskState::STATE_OFFLINE:
case AccountTaskState::STATE_DISABLED: {
// NOTE: user will need to fix this themselves.
}
case AccountTaskState::STATE_FAILED_SOFT: {
// NOTE: this doesn't do much. There was an error of some sort.
}