Ticket #5471 (closed Bug: fixed)
|Reported by:||jan.murre@…||Owned by:||plonista|
Description (last modified by wichert) (diff)
In CMFPLone.MembershipTool.MembershipTool.setLoginTimes() there is:
def setLoginTimes(self): """ Called by logged_in to set the login time properties even if members lack the "Set own properties" permission. """ if not self.isAnonymousUser(): member = self.getAuthenticatedMember() login_time = member.getProperty('login_time', '2000/01/01') if str(login_time) == '2000/01/01': login_time = self.ZopeTime() member.setProperties(login_time=login_time, last_login_time=self.ZopeTime())
So last_login_time is set to the current time. After you have logged in, this property is useless to get the content that has been updated after the previous login.
I think it should be:
- Component changed from Login and registration to Infrastructure