4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-22 06:19:50 +01:00

Add a log message in case of sucessful MS login

This commit is contained in:
Quentin Legot 2023-10-02 17:02:42 +02:00
parent 41a78a29cc
commit cadbbd3caf

View File

@ -56,6 +56,7 @@ class Minecraft {
xboxManager.getMinecraft().then(async token => { xboxManager.getMinecraft().then(async token => {
if(!token.isDemo()) { if(!token.isDemo()) {
this.auth = token.mclc() this.auth = token.mclc()
logger.info("[MS login] User has been connected successfully to them account")
win.loadFile("src/client/index.html") win.loadFile("src/client/index.html")
} else { } else {
event.sender.send("loginError") event.sender.send("loginError")