diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 22:18:22 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 22:18:22 -0700 |
commit | 3492f1712dd21511347c96a463504eb5ac912681 (patch) | |
tree | 1255cab19bf7f08ad7d655ea312d86856d6dbe4d /modules | |
parent | 3e8d683ce4bf6cf41b67e61ebe76c32c129105e4 (diff) |
Fix the i18n error message for missing/incorrect password. Fixes ticket #1265.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/controllers/users.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/controllers/users.php b/modules/user/controllers/users.php index d13cccb2..5e6239d8 100644 --- a/modules/user/controllers/users.php +++ b/modules/user/controllers/users.php @@ -189,7 +189,7 @@ class Users_Controller extends Controller { $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")); |