diff --git a/html/mainPage/js/main.js b/html/mainPage/js/main.js index 10a5304..cb1b07c 100644 --- a/html/mainPage/js/main.js +++ b/html/mainPage/js/main.js @@ -368,7 +368,8 @@ function loginDialog(callback) { callback({ cancelled: false, email: document.getElementById('login-email').value, - password: document.getElementById('login-password').value + password: document.getElementById('login-password').value, + method: document.getElementById('msa').checked ? 'microsoft' : 'mojang' }) closeDialog() } @@ -377,6 +378,7 @@ function loginDialog(callback) { document.getElementById('dialog').className='dialog dialog-medium' document.getElementById('dialog').innerHTML = `