From c7c26f984e4fe6069d01160b01418603fa854409 Mon Sep 17 00:00:00 2001 From: TheCoreDev Date: Tue, 21 Nov 2023 16:39:53 +0100 Subject: [PATCH] =?UTF-8?q?On=20r=C3=A9cup=C3=A8re=20bien=20les=20param?= =?UTF-8?q?=C3=A8tres=20du=20nouveau=20formulaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + app.js | 3 ++- views/create-session.hbs | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7b5d7cd..8755e12 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules.zip +.DS_Store diff --git a/app.js b/app.js index c4973fa..77d8841 100644 --- a/app.js +++ b/app.js @@ -319,8 +319,9 @@ app.post("/auth/check-session", (req, res) => { // ******************************************* Création d'une nouvelle session ******************************************* app.post("/record-session", (req, res) => { - const { topic, attended, password, } = req.body + const { topic, attended, password, password_confirm, datetimepicker1Input } = req.body + console.log(datetimepicker1Input); }); diff --git a/views/create-session.hbs b/views/create-session.hbs index ac43bfc..8a7ce98 100644 --- a/views/create-session.hbs +++ b/views/create-session.hbs @@ -64,7 +64,5 @@ {{/if}} -