Remove stuff
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user