This commit is contained in:
clement callaert 2023-11-04 19:48:02 +01:00
parent 72b7f656d6
commit 74752e718f

View file

@ -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!',