From 8f19c59ebb00a30fa9ceec0f7375c231182e8200 Mon Sep 17 00:00:00 2001 From: 08draven Date: Fri, 1 Nov 2024 17:40:01 -0400 Subject: [PATCH] a --- client/register.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/register.js b/client/register.js index f6fe4d8..32a15bf 100644 --- a/client/register.js +++ b/client/register.js @@ -3,7 +3,6 @@ import auth from "../form/auth.js"; // TODO: rewrite let main = new Route([auth], async function (req, res, input) { - let { username } = input; return res.render('form', { data: [ { label: "Username", type: "text", name: "user" }, @@ -12,7 +11,7 @@ let main = new Route([auth], async function (req, res, input) { ], 'route': '/api/form/register', 'title': 'Join', - username + ...input }); });