diff --git a/src/main/resources/web/js/account_manager.js b/src/main/resources/web/js/account_manager.js index 010e8f9..88a2228 100644 --- a/src/main/resources/web/js/account_manager.js +++ b/src/main/resources/web/js/account_manager.js @@ -44,7 +44,7 @@ function loginMc(user, pass) { .then(data => { storeMcAccount(data.accessToken, data.clientToken, data.selectedProfile.name, data.selectedProfile.id); }).catch(e => addToast("Failed to login", e)); - $("#form_add_mc input").val(""); + $("#form_add_mc input").reset(); } function logoutMojang(id) {