diff --git a/routes/auth.js b/routes/auth.js index 2b85961..a6e5e26 100644 --- a/routes/auth.js +++ b/routes/auth.js @@ -64,6 +64,7 @@ router.post('/creer-compte', async function (req, res) { db.getDb().collection('users').findOne({nom_dutilisateur: enteredNom_dutilisateur}); console.log(existingUser) if (existingUser) { + console.log("here4") req.session.inputData = { hasError: true, message: 'User exists already!',