mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
fix #4546
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
"no-email-to-confirm": "This forum requires email confirmation, please click here to enter an email",
|
"no-email-to-confirm": "This forum requires email confirmation, please click here to enter an email",
|
||||||
"email-confirm-failed": "We could not confirm your email, please try again later.",
|
"email-confirm-failed": "We could not confirm your email, please try again later.",
|
||||||
"confirm-email-already-sent": "Confirmation email already sent, please wait %1 minute(s) to send another one.",
|
"confirm-email-already-sent": "Confirmation email already sent, please wait %1 minute(s) to send another one.",
|
||||||
|
"sendmail-not-found": "The sendmail executable could not be found, please ensure it is installed and executable by the user running NodeBB.",
|
||||||
|
|
||||||
"username-too-short": "Username too short",
|
"username-too-short": "Username too short",
|
||||||
"username-too-long": "Username too long",
|
"username-too-long": "Username too long",
|
||||||
|
|||||||
@@ -113,7 +113,11 @@ var fallbackTransport;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
], function (err) {
|
], function (err) {
|
||||||
|
if (err && err.code === 'ENOENT') {
|
||||||
|
callback(new Error('[[error:sendmail-not-found]]'));
|
||||||
|
} else {
|
||||||
callback(err);
|
callback(err);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user