Skip to content

Commit

Permalink
Fix the i18n error message for missing/incorrect password. Fixes tick…
Browse files Browse the repository at this point in the history
…et #1265.
  • Loading branch information
bharat committed Aug 2, 2010
1 parent 3e8d683 commit 3492f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/user/controllers/users.php
Expand Up @@ -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"));
Expand Down

0 comments on commit 3492f17

Please sign in to comment.