NOISSUE introduce the concept of secrets static library

This commit is contained in:
Petr Mrázek
2021-08-27 22:35:17 +02:00
parent 34a5459dce
commit b2c1100b1c
10 changed files with 39 additions and 16 deletions

View File

@ -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: {