Skip to content

Commit

Permalink
fix: #11545, wrong message shown to new users re: email confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed May 1, 2023
1 parent 604a8f7 commit 2b70063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/modules/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 2b70063

Please sign in to comment.