GH-4317 Detect forced migration state and show errors for it

This commit is contained in:
Petr Mrázek
2022-04-23 01:31:03 +02:00
parent ef1bf57b58
commit b39410a2c2
13 changed files with 143 additions and 1 deletions

View File

@@ -48,7 +48,8 @@ enum class AccountState {
Online,
Errored,
Expired,
Gone
Gone,
MustMigrate
};
struct AccountData {
@@ -79,6 +80,7 @@ struct AccountData {
AccountType type = AccountType::MSA;
bool legacy = false;
bool canMigrateToMSA = false;
bool mustMigrateToMSA = false;
Katabasis::Token msaToken;
Katabasis::Token userToken;