Commit acce21bb authored by Ard Schrijvers's avatar Ard Schrijvers

CMS-11441 [Backport 11.2] Make sure to clear the password field after a failed login

(cherry picked from commit 4d9dde92578c102482fab854854f357f45a5402d)
parent 13b5c9a2
......@@ -183,7 +183,7 @@ public class LoginPanel extends Panel {
addLabelledComponent(new Label("password-label", new ResourceModel("password-label")));
add(passwordTextField = new PasswordTextField("password", PropertyModel.of(LoginPanel.this, "password")));
passwordTextField.setResetPassword(false);
passwordTextField.setResetPassword(true);
final String defaultLocale = locales.get(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment