summaryrefslogtreecommitdiff
path: root/modules/user/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-04-17 12:28:46 -0700
committerBharat Mediratta <bharat@menalto.com>2010-04-17 12:28:46 -0700
commit6d81feacae8329cd0c65abe920ecd3fa2e8f2537 (patch)
tree0fce8325db3b6a92baecbc6b5615199d7ac22e51 /modules/user/helpers
parent27b29afd7cf679f33429ce144871c1d96f137fbb (diff)
Change the key for invalid passwords from "invalid" to
"invalid_password" to remove ambiguity.
Diffstat (limited to 'modules/user/helpers')
-rw-r--r--modules/user/helpers/user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/helpers/user.php b/modules/user/helpers/user.php
index 1ad4bbd2..55153263 100644
--- a/modules/user/helpers/user.php
+++ b/modules/user/helpers/user.php
@@ -72,7 +72,7 @@ class user_Core {
static function valid_password($password_input) {
if (!user::is_correct_password(identity::active_user(), $password_input->value)) {
- $password_input->add_error("invalid", 1);
+ $password_input->add_error("invalid_password", 1);
}
}