syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject [syncope] branch 2_0_X updated: [SYNCOPE-1438] Init changePwdDate field when user is created with specified password
Date Wed, 20 Feb 2019 10:49:52 GMT
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new 441b980  [SYNCOPE-1438] Init changePwdDate field when user is created with specified
password
441b980 is described below

commit 441b980ef48c63c3e6a8003bb78d27f736e0aace
Author: Dmitriy Brashevets <dmitriybrashevets@gmail.com>
AuthorDate: Sun Feb 3 13:51:58 2019 +0300

    [SYNCOPE-1438] Init changePwdDate field when user is created with specified password
---
 .../apache/syncope/core/provisioning/java/data/UserDataBinderImpl.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/UserDataBinderImpl.java
b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/UserDataBinderImpl.java
index cdef516..febbc90 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/UserDataBinderImpl.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/data/UserDataBinderImpl.java
@@ -169,6 +169,7 @@ public class UserDataBinderImpl extends AbstractAnyDataBinder implements
UserDat
             LOG.debug("Password was not provided or not required to be stored");
         } else {
             setPassword(user, userTO.getPassword(), scce);
+            user.setChangePwdDate(new Date());
         }
 
         user.setMustChangePassword(userTO.isMustChangePassword());


Mime
View raw message