aboutsummaryrefslogtreecommitdiff
path: root/launcher/LaunchController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/LaunchController.cpp')
-rw-r--r--launcher/LaunchController.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp
index 11780625..82c97ecf 100644
--- a/launcher/LaunchController.cpp
+++ b/launcher/LaunchController.cpp
@@ -171,9 +171,16 @@ void LaunchController::login() {
break;
}
case AuthSession::RequiresOAuth: {
- // FIXME: add UI for expired / broken MS accounts
+ auto errorString = tr("Microsoft account has expired and needs to be logged into manually again.");
+ QMessageBox::warning(
+ nullptr,
+ tr("Microsoft Account refresh failed"),
+ errorString,
+ QMessageBox::StandardButton::Ok,
+ QMessageBox::StandardButton::Ok
+ );
tryagain = false;
- emitFailed(tr("Microsoft account has expired and needs to be logged into again."));
+ emitFailed(errorString);
return;
}
case AuthSession::PlayableOffline: {