mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-07-08 12:24:51 +02:00
try to fix account list
This commit is contained in:
parent
ff32bd52ff
commit
9a8a5f9250
|
@ -27,14 +27,7 @@ function loginMs() {
|
||||||
myMSALObj.loginRedirect(loginRequest);
|
myMSALObj.loginRedirect(loginRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleResponse(response) {
|
myMSALObj.handleRedirectPromise().then(() => refreshAccountList());
|
||||||
const currentAccounts = myMSALObj.getAllAccounts();
|
|
||||||
refreshAccountList();
|
|
||||||
}
|
|
||||||
|
|
||||||
$(() => {
|
|
||||||
myMSALObj.handleRedirectPromise(handleResponse);
|
|
||||||
});
|
|
||||||
|
|
||||||
function getMcToken(username) {
|
function getMcToken(username) {
|
||||||
return getTokenPopup(username, loginRequest)
|
return getTokenPopup(username, loginRequest)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user