v1.18.x
Barış Soner Uşaklı 10 years ago
parent eb733fdb6f
commit abd3979fb3

@ -23,7 +23,7 @@
"username-taken": "Username taken", "username-taken": "Username taken",
"email-taken": "Email taken", "email-taken": "Email taken",
"email-not-confirmed": "Your email has not been confirmed yet, please click here to confirm your email.", "email-not-confirmed": "Your email has not been confirmed yet, please click here to confirm your email.",
"email-not-confirmed-chat": "You are unable to chat until your email is confirmed", "email-not-confirmed-chat": "You are unable to chat until your email is confirmed, please click here to confirm your email.",
"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.",

@ -206,6 +206,9 @@ define('forum/chats', ['string', 'sounds', 'forum/infinitescroll'], function(S,
message:msg message:msg
}, function(err) { }, function(err) {
if (err) { if (err) {
if (err.message === '[[error:email-not-confirmed-chat]]') {
return showEmailConfirmAlert(err);
}
return app.alertError(err.message); return app.alertError(err.message);
} }

Loading…
Cancel
Save