mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: #11545, wrong message shown to new users re: email confirmation
This commit is contained in:
@@ -27,7 +27,7 @@ define('messages', ['bootbox', 'translator', 'storage', 'alerts', 'hooks'], func
|
||||
},
|
||||
};
|
||||
|
||||
if (!app.user.email) {
|
||||
if (!app.user.email && !app.user.isEmailConfirmSent) {
|
||||
msg.message = '[[error:no-email-to-confirm]]';
|
||||
msg.clickfn = function () {
|
||||
alerts.remove('email_confirm');
|
||||
|
||||
Reference in New Issue
Block a user