mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Change the key for invalid passwords from "invalid" to
"invalid_password" to remove ambiguity.
This commit is contained in:
@@ -167,7 +167,7 @@ class Users_Controller extends Controller {
|
||||
$group->password("old_password")->label(t("Old 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"));
|
||||
|
||||
Reference in New Issue
Block a user