mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-02-03 23:42:06 +01:00
ignore if token invalidation fails
This commit is contained in:
parent
6799f39e1c
commit
72d82eaad3
@ -57,12 +57,7 @@ function logoutMojang(id) {
|
|||||||
headers: {"content-type": "application/json"}
|
headers: {"content-type": "application/json"}
|
||||||
})
|
})
|
||||||
.then(checkFetchSuccess("not success logout"))
|
.then(checkFetchSuccess("not success logout"))
|
||||||
.then(data => removeMcAccount(id))
|
.finally(() => removeMcAccount(id));
|
||||||
.catch(e => {
|
|
||||||
if (confirm("failed to invalidate token! error: " + e + " remove account?")) {
|
|
||||||
removeMcAccount(id);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user