syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdisabat...@apache.org
Subject syncope git commit: [SYNCOPE-962] Set resetPassword to false following WICKET-6211
Date Tue, 27 Dec 2016 16:37:36 GMT
Repository: syncope
Updated Branches:
  refs/heads/master aef68d91f -> 61f35589b


[SYNCOPE-962] Set resetPassword to false following WICKET-6211


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/61f35589
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/61f35589
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/61f35589

Branch: refs/heads/master
Commit: 61f35589be1257b5eabca886533920674acbc7e7
Parents: aef68d9
Author: Marco Di Sabatino Di Diodoro <mdisabatino@apache.org>
Authored: Tue Dec 27 17:36:00 2016 +0100
Committer: Marco Di Sabatino Di Diodoro <mdisabatino@apache.org>
Committed: Tue Dec 27 17:37:25 2016 +0100

----------------------------------------------------------------------
 .../syncope/client/console/wizards/any/PasswordPanel.java       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/61f35589/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/PasswordPanel.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/PasswordPanel.java
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/PasswordPanel.java
index c89e16a..44e673d 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/PasswordPanel.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/PasswordPanel.java
@@ -50,7 +50,7 @@ public class PasswordPanel extends Panel {
 
         confirmPasswordField.setMarkupId("confirmPassword");
         confirmPasswordField.setPlaceholder("confirmPassword");
-        ((PasswordTextField) confirmPasswordField.getField()).setResetPassword(true);
+        ((PasswordTextField) confirmPasswordField.getField()).setResetPassword(false);
         form.add(confirmPasswordField);
 
         if (templateMode) {
@@ -70,10 +70,9 @@ public class PasswordPanel extends Panel {
             passwordField.setRequired(true);
             passwordField.setMarkupId("password");
             passwordField.setPlaceholder("password");
-            ((PasswordTextField) passwordField.getField()).setResetPassword(true);
+            ((PasswordTextField) passwordField.getField()).setResetPassword(false);
             form.add(passwordField);
             form.add(new EqualPasswordInputValidator(passwordField.getField(), confirmPasswordField.getField()));
-            passwordField.setRequired(true);
         }
 
         AjaxCheckBoxPanel storePasswordInSyncope = new AjaxCheckBoxPanel("storePasswordInSyncope",


Mime
View raw message