-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 5.1.2, 5.2.1
-
Fix Version/s: 5.2.2
-
Component/s: None
-
Labels:None
-
Branch Version/s:5.1.x
-
Backported to Branch:Committed
Passwords are being tracked, even if PasswordHistory is not enabled
To fix this, we just need to wrap the existing "trackPassword(..)" method of PasswordTrackerLocalServiceImp, with the following linesl:
PasswordPolicy passwordPolicy =
passwordPolicyLocalService.getPasswordPolicyByUserId(userId);
if (passwordPolicy.getHistory())
{ .... }and then run a build service to update the interface and util classes.
Scott