fix stupid mistakes
This commit is contained in:
@@ -8,15 +8,12 @@ function endpoint($endpoint_data)
|
||||
|
||||
case "login":
|
||||
return doLogin($endpoint_data["email"], $endpoint_data["password"]);
|
||||
break;
|
||||
|
||||
case "logout":
|
||||
return doLogout();
|
||||
break;
|
||||
|
||||
case "register":
|
||||
return doRegister($endpoint_data["firstname"], $endpoint_data["lastname"], $endpoint_data["nickname"], $endpoint_data["email"], $endpoint_data["password"], $endpoint_data["minecraftnick"], $endpoint_data["activation_token"]);
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user