mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-28 02:05:40 -05:00
Remove test code from microsoftAuth that was getting called at import time
This commit is contained in:
parent
34e59fd88e
commit
cbfa9ef046
1 changed files with 0 additions and 10 deletions
|
@ -130,13 +130,3 @@ module.exports = {
|
||||||
authenticatePassword,
|
authenticatePassword,
|
||||||
authenticateDeviceCode
|
authenticateDeviceCode
|
||||||
}
|
}
|
||||||
|
|
||||||
async function msaTest () {
|
|
||||||
// MsAuthFlow.resetTokenCaches()
|
|
||||||
await authenticateDeviceCode({ emit: () => { } }, {})
|
|
||||||
}
|
|
||||||
|
|
||||||
// debug with node microsoftAuth.js
|
|
||||||
if (!module.parent) {
|
|
||||||
msaTest()
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue