diff --git a/modules/auth/auth.controller.js b/modules/auth/auth.controller.js index 0ce733d..f210c29 100644 --- a/modules/auth/auth.controller.js +++ b/modules/auth/auth.controller.js @@ -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