mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
refactor: change error message
This commit is contained in:
@@ -61,7 +61,7 @@ Interstitials.email = async (data) => {
|
|||||||
email: formData.email,
|
email: formData.email,
|
||||||
force: true,
|
force: true,
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
winston.error(`[user.create] Validation email failed to send\n[emailer.send] ${err.stack}`);
|
winston.error(`[user.interstitials.email] Validation email failed to send\n[emailer.send] ${err.stack}`);
|
||||||
});
|
});
|
||||||
data.req.session.emailChanged = 1;
|
data.req.session.emailChanged = 1;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user