From 3492f1712dd21511347c96a463504eb5ac912681 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 1 Aug 2010 22:18:22 -0700 Subject: [PATCH] Fix the i18n error message for missing/incorrect password. Fixes ticket #1265. --- modules/user/controllers/users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/controllers/users.php b/modules/user/controllers/users.php index d13cccb29a..5e6239d8ce 100644 --- a/modules/user/controllers/users.php +++ b/modules/user/controllers/users.php @@ -189,7 +189,7 @@ private function _get_change_email_form($user) { $group->password("password")->label(t("Current password"))->id("g-password") ->callback("auth::validate_too_many_failed_auth_attempts") ->callback("user::valid_password") - ->error_messages("invalid", t("Incorrect password")) + ->error_messages("invalid_password", t("Incorrect password")) ->error_messages( "too_many_failed_auth_attempts", t("Too many incorrect passwords. Try again later"));