diff --git a/routes/routes-account.js b/routes/routes-account.js index e075f04db589014da99cba9178f870144f39e322..39fb86eb3efd5c089de7139140af633ef88209ac 100644 --- a/routes/routes-account.js +++ b/routes/routes-account.js @@ -292,7 +292,8 @@ module.exports = function (app, config, passport, i18n) { } else { if ( newPwd != retypePwd ) { - req.flash('error', "Passwords do no match. Please make sure you re-type your new password correctly.") + //req.flash('error', "Passwords do no match. Please make sure you re-type your new password correctly.") + req.flash('error', 'Passwörter stimmen nicht überein. Bitte stellen Sie sicher, dass Sie das Passwort beide Male genau gleich eingeben.') res.redirect('/security') } else {