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