From 3551dd3ebb4c116dabcb949095e876f51bf951c0 Mon Sep 17 00:00:00 2001 From: Arved Solth Date: Fri, 13 Oct 2023 14:56:31 +0200 Subject: [PATCH] Always reset password input fields when opening 'change password' dialog --- .../templates/includes/userEdit/changePasswordPopup.xhtml | 6 +++--- .../WEB-INF/templates/includes/userEdit/details.xhtml | 4 ++++ .../templates/includes/userEdit/resetPasswordPopup.xhtml | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/changePasswordPopup.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/changePasswordPopup.xhtml index a82aa7684c1..dcc69acb5a1 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/changePasswordPopup.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/changePasswordPopup.xhtml @@ -33,7 +33,7 @@
-
@@ -41,7 +41,7 @@
- @@ -50,7 +50,7 @@
-
diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/details.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/details.xhtml index 74fc4e4b8a4..1086018ee82 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/details.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/details.xhtml @@ -79,8 +79,10 @@ icon="fa fa-pencil fa-lg" iconPos="right" immediate="true" + update=":changePasswordForm" styleClass="seoncdary" rendered="#{isConfigMode}"> + +
diff --git a/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/resetPasswordPopup.xhtml b/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/resetPasswordPopup.xhtml index d7a21d827a3..e649ee94831 100644 --- a/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/resetPasswordPopup.xhtml +++ b/Kitodo/src/main/webapp/WEB-INF/templates/includes/userEdit/resetPasswordPopup.xhtml @@ -33,7 +33,7 @@ - -