diff --git a/application/modules/auth/auth.controller.js b/application/modules/auth/auth.controller.js index d81d0ea..ecc4696 100644 --- a/application/modules/auth/auth.controller.js +++ b/application/modules/auth/auth.controller.js @@ -74,6 +74,10 @@ const loginPartnerUser = async (req, res, next) => { let { email, password } = req.body; + var ip = req.headers['x-real-ip'] || req.connection.remoteAddress; + + console.log('INI LHO IP NYA....................: ' + ip); + // log info winston.logger.info( `${uniqueCode} [ REQUEST LOGIN-PARTNER-USER ]: ${JSON.stringify({