You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/03/27 13:25:36 UTC
[syncope] branch 2_1_X updated: Fix copy / paste error
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/2_1_X by this push:
new 39fd9ce Fix copy / paste error
39fd9ce is described below
commit 39fd9cecb8999a3582cec13ba727c7d09517de3d
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Wed Mar 27 14:25:08 2019 +0100
Fix copy / paste error
---
.../apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java
index f5905fd..26b9d8b 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/utils/ConnObjectUtils.java
@@ -260,7 +260,7 @@ public class ConnObjectUtils {
updatedUser.setPassword(null);
}
- updatedUser.setSecurityQuestion(updatedUser.getSecurityQuestion());
+ updatedUser.setSecurityQuestion(originalUser.getSecurityQuestion());
updatedUser.setMustChangePassword(originalUser.isMustChangePassword());
anyPatch = (T) AnyOperations.diff(updatedUser, originalUser, true);