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-943] Security question gets deleted when changing a user attribute in the console
Date Tue, 04 Oct 2016 13:18:55 GMT
Repository: syncope
Updated Branches:
  refs/heads/1_2_X ccb747d01 -> 3348c857f


[SYNCOPE-943] Security question gets deleted when changing a user attribute in the console


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

Branch: refs/heads/1_2_X
Commit: 3348c857f141bbcaa762c02cc5520aeed8974fa6
Parents: ccb747d
Author: Marco Di Sabatino Di Diodoro <mdisabatino@apache.org>
Authored: Tue Oct 4 15:18:14 2016 +0200
Committer: Marco Di Sabatino Di Diodoro <mdisabatino@apache.org>
Committed: Tue Oct 4 15:18:14 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/syncope/common/util/AttributableOperations.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/3348c857/common/src/main/java/org/apache/syncope/common/util/AttributableOperations.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/syncope/common/util/AttributableOperations.java
b/common/src/main/java/org/apache/syncope/common/util/AttributableOperations.java
index 449f86f..106612e 100644
--- a/common/src/main/java/org/apache/syncope/common/util/AttributableOperations.java
+++ b/common/src/main/java/org/apache/syncope/common/util/AttributableOperations.java
@@ -237,6 +237,7 @@ public final class AttributableOperations {
         }
 
         // 3. security question / answer
+        result.setSecurityQuestion(0L);
         if (updated.getSecurityQuestion() == null) {
             result.setSecurityQuestion(null);
             result.setSecurityAnswer(null);


Mime
View raw message