-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.6
-
Fix Version/s: 5.6.0-HF16, 5.7.1
-
Component/s: None
There is some code since before 5.1.6 that does that :
public String changePassword() throws ClientException { updateUser(); ... if (selectedUser.getId().equals(currentUser.getName())) { // If user changed HIS password, reset session Session.instance().invalidate(); return navigationContext.goHome(); } else { return "view_user"; } }
I did not find any good justification for this code :
- I don't see why we would need that
- I did not find anything in history (history before 5.1.6 is hard to browse)
This means I will remove this code !