diff --git a/controllers/authenticate.js b/controllers/authenticate.js index 8d67ad80..00f18e03 100644 --- a/controllers/authenticate.js +++ b/controllers/authenticate.js @@ -63,9 +63,9 @@ exports.authenticateUser = (req, res, next) => { fs.readFile(common.lnd_config_path, 'utf8', function (err, data) { if (err) { logger.error('\r\nAuthenticate: 45: ' + JSON.stringify(Date.now()) + ': ERROR: LND Config Reading Failed!'); - err.description = 'You might be connecting RTL remotely to your LND node OR You might be missing rpcpass in your lnd.conf.\n'; - err.description = err.description + 'If the former, modify the RTL.conf for remote setting\n'; - err.description = err.description + 'If the later, modify the lnd.conf to include rpcpass'; + err.description = 'You might be connecting RTL remotely to your LND node OR You might be missing rpcpass in your lnd.conf.'; + err.description = err.description + ' If the former modify the RTL.conf for remote setting.'; + err.description = err.description + ' If the later modify the lnd.conf to include rpcpass'; res.status(500).json({ message: "LND Config Reading Failed!", error: err