Update microsoftAuth to set default flow option (#309)

* Update microsoftAuth to set default flow option

Explicitly specify to login through live.com

* Update package.json
This commit is contained in:
extremeheat 2022-10-25 04:22:30 -04:00 committed by GitHub
commit 20da9446f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -25,7 +25,7 @@
"jsp-raknet": "^2.1.3",
"minecraft-data": "^3.0.0",
"minecraft-folder-path": "^1.2.0",
"prismarine-auth": "^1.1.0",
"prismarine-auth": "^2.0.0",
"prismarine-nbt": "^2.0.0",
"prismarine-realms": "^1.1.0",
"protodef": "^1.14.0",

View file

@ -12,6 +12,7 @@ function validateOptions (options) {
if (options.authTitle === undefined) {
options.authTitle = Titles.MinecraftNintendoSwitch
options.deviceType = 'Nintendo'
options.flow = 'live'
}
}