From 6321df3f8521fa35e18d9845a602f4c6edfc9a81 Mon Sep 17 00:00:00 2001 From: David Arranz Date: Thu, 29 Aug 2024 18:15:59 +0200 Subject: [PATCH] . --- modules/auth/auth.controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/auth/auth.controller.js b/modules/auth/auth.controller.js index 20be072..3838a45 100644 --- a/modules/auth/auth.controller.js +++ b/modules/auth/auth.controller.js @@ -328,6 +328,7 @@ async function getOrCreateUser(req, res, next) { //creamos o recuperamos el usuario teniendo en cuenta que pude venir por APP o WEB //si viene por web se tendra en cuenta el email y si viene por APP el phone para buscar try { + console.log('CHAPUZAAAAAAAAAA>>>'); //CHAPUZA PARA PODER DAR DE ALTA USUARIOS CON EL MISMO CORREO ELECTRONICO, PERO DISTINTO NOMBRE Y APELLIDO. if (req.user) //? 'app' : 'web', //En el caso de tener ya usuario viene por APP sino viene por web