summaryrefslogtreecommitdiff
path: root/modules/user/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-01 22:18:22 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-01 22:18:22 -0700
commit3492f1712dd21511347c96a463504eb5ac912681 (patch)
tree1255cab19bf7f08ad7d655ea312d86856d6dbe4d /modules/user/controllers
parent3e8d683ce4bf6cf41b67e61ebe76c32c129105e4 (diff)
Fix the i18n error message for missing/incorrect password. Fixes ticket #1265.
Diffstat (limited to 'modules/user/controllers')
-rw-r--r--modules/user/controllers/users.php2
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"));