.
This commit is contained in:
parent
7c46d160ab
commit
8a3c01c0ce
@ -332,7 +332,7 @@ async function getOrCreateUser(req, res, next) {
|
||||
//CHAPUZA PARA PODER DAR DE ALTA USUARIOS CON EL MISMO CORREO ELECTRONICO, PERO DISTINTO NOMBRE Y APELLIDO.
|
||||
if (req.user)
|
||||
{
|
||||
if (req.user === {} )
|
||||
if (req.user == {} )
|
||||
dataUser.userResult = await userService._getOrCreateUserWEB(dataUser);
|
||||
else
|
||||
//? 'app' : 'web', //En el caso de tener ya usuario viene por APP sino viene por web
|
||||
|
||||
Loading…
Reference in New Issue
Block a user