Fix Microsoft account provider

This commit is contained in:
Dāvis Mosāns
2021-12-10 05:22:44 +02:00
parent 92e1a0fa08
commit 663e6a313c
7 changed files with 39 additions and 4 deletions

View File

@@ -313,6 +313,7 @@ bool AccountData::resumeStateFromV3(QJsonObject data) {
auto typeS = typeV.toString();
if(typeS == "MSA") {
type = AccountType::MSA;
provider = AuthProviders::lookup("MSA");
} else {
type = AccountType::Mojang;
provider = AuthProviders::lookup(typeS);