mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-31 04:00:56 -04:00
Change the key for invalid passwords from "invalid" to
"invalid_password" to remove ambiguity.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user