mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-27 06:49:09 -04:00
Change the key for invalid passwords from "invalid" to
"invalid_password" to remove ambiguity.
This commit is contained in:
@@ -63,7 +63,7 @@ class Reauthenticate_Controller extends Controller {
|
||||
$group->password("password")->label(t("Password"))->id("g-password")->class(null)
|
||||
->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