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:36:58 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 104fd5fd4 -> b3e528d8f


[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/b3e528d8
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/b3e528d8
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/b3e528d8

Branch: refs/heads/2_0_X
Commit: b3e528d8f4dd24822cf29b5b7fd5d444409636c1
Parents: 104fd5f
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:36:35 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/b3e528d8/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