.
This commit is contained in:
parent
14e781e4c2
commit
c01916c52a
@ -328,7 +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('req.user>>>>>>>>', req.user);
|
||||
console.log('req.user>>>>>>>>', dataUser);
|
||||
//CHAPUZA PARA PODER DAR DE ALTA USUARIOS CON EL MISMO CORREO ELECTRONICO, PERO DISTINTO NOMBRE Y APELLIDO.
|
||||
if (req.user) //web
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user