IDEMPIERE-3699 HashPasswords process should not update DatePasswordChanged
This commit is contained in:
parent
05dc56dc0e
commit
5577aa973b
|
@ -936,7 +936,7 @@ public class MUser extends X_AD_User
|
|||
}
|
||||
pwdrule.validate((getLDAPUser() != null ? getLDAPUser() : getName()), getPassword(), passwordHistorys);
|
||||
}
|
||||
|
||||
setDatePasswordChanged(new Timestamp(new Date().getTime()));
|
||||
}
|
||||
|
||||
// Hash password - IDEMPIERE-347
|
||||
|
@ -944,7 +944,6 @@ public class MUser extends X_AD_User
|
|||
if (hash_password)
|
||||
setPassword(getPassword());
|
||||
|
||||
setDatePasswordChanged(new Timestamp(new Date().getTime()));
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue