mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
Login error message update
Login error message update
This commit is contained in:
parent
bc1a2edc87
commit
92b1cc9f7c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user