aboutsummaryrefslogtreecommitdiff
path: root/launcher/LaunchController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/LaunchController.cpp')
-rw-r--r--launcher/LaunchController.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp
index 82c97ecf..190605fd 100644
--- a/launcher/LaunchController.cpp
+++ b/launcher/LaunchController.cpp
@@ -183,6 +183,19 @@ void LaunchController::login() {
emitFailed(errorString);
return;
}
+ case AuthSession::GoneOrMigrated: {
+ auto errorString = tr("The account no longer exists on the servers. It may have been migrated, in which case please add the new account you migrated this one to.");
+ QMessageBox::warning(
+ nullptr,
+ tr("Account gone"),
+ errorString,
+ QMessageBox::StandardButton::Ok,
+ QMessageBox::StandardButton::Ok
+ );
+ tryagain = false;
+ emitFailed(errorString);
+ return;
+ }
case AuthSession::PlayableOffline: {
// we ask the user for a player name
bool ok = false;