On récupère bien les paramètres du nouveau formulaire

This commit is contained in:
2023-11-21 16:39:53 +01:00
parent 726635232a
commit c7c26f984e
3 changed files with 3 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
node_modules.zip
.DS_Store

3
app.js
View File

@@ -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);
});

View File

@@ -64,7 +64,5 @@
{{/if}}
</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js">
</body>
</html>