From 2b70063eecea23151f245aafcb4f005e557ec089 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 1 May 2023 11:09:59 -0400 Subject: [PATCH] fix: #11545, wrong message shown to new users re: email confirmation --- public/src/modules/messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/messages.js b/public/src/modules/messages.js index 18120ae8a4..99edb969d0 100644 --- a/public/src/modules/messages.js +++ b/public/src/modules/messages.js @@ -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');