This commit is contained in:
clement callaert 2023-11-04 20:14:51 +01:00
parent 74dcf9f004
commit 11db8b9d3e

View file

@ -60,7 +60,7 @@ router.post('/creer-compte', async function (req, res) {
return;
}
console.log("here2")
const existingUser = await db.getDb().collection('users').findOne({email: enteredEmail});
const existingUser = await db.getDb().collection('users').findOne({email: enteredEmail})
if (existingUser) {
console.log("here4")
req.session.inputData = {