auth fix
This commit is contained in:
parent
c1d8dbed47
commit
3e8f52a200
@ -125,10 +125,7 @@ loginSkirdaDiscordButton.addEventListener('click', async () =>{
|
|||||||
console.log(yggAuthRes)
|
console.log(yggAuthRes)
|
||||||
|
|
||||||
|
|
||||||
AuthManager.addSkirdaAccount(yggAuthRes.profile.id, yggAuthRes.accessToken, skirdaAuth.skirdaUserId, yggAuthRes.profile.name, skirdaAuth.token)
|
AuthManager.addSkirdaAccount(yggAuthRes.profile.id, skirdaAuth.token, skirdaAuth.skirdaUserId, yggAuthRes.profile.name, skirdaAuth.token)
|
||||||
|
|
||||||
// AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName)
|
|
||||||
AuthManager.addSkirdaAccount(account.uuid, account.token, account.username, account.displayName)
|
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
switchView(VIEWS.loginSkirdaDiscord, VIEWS.landing, 500, 500)
|
switchView(VIEWS.loginSkirdaDiscord, VIEWS.landing, 500, 500)
|
||||||
|
Loading…
Reference in New Issue
Block a user