Remove stuff

This commit is contained in:
Bruno Rybársky 2024-02-03 18:15:41 +01:00
parent 7f172db61c
commit 6284848a7e

@ -17,20 +17,16 @@
function register() {
const firstName = document.getElementById("register_firstName").value;
const lastName = document.getElementById("register_lastName").value;
const nickname = document.getElementById("register_nickname").value;
const email = document.getElementById("register_email").value;
const password = document.getElementById("register_password").value;
const minecraftNick = document.getElementById("register_minecraftNick").value;
const activationToken = document.getElementById("register_activationToken").value;
const data = new URLSearchParams();
data.append("action", "register");
data.append("firstname", firstName);
data.append("lastname", lastName);
data.append("nickname", nickname);
data.append("email", email);
data.append("password", password);
data.append("minecraft_nick", minecraftNick);
data.append("activation_token", activationToken);
doRegister(data);