#554: "Last Login" does not update -----------------------+---------------------------- Reporter: rjollos | Owner: rjollos Type: defect | Status: accepted Priority: critical | Milestone: Release 6 Component: plugins | Version: 0.5.3 Resolution: | Keywords: AccountManager -----------------------+----------------------------
Comment (by astaric): Can you try opening a report (or doing anything that triggers a session save). This should also update your Last Login time (if it is older than a day). As far as I can tell from the trac code, it only updates last_visit time when session data is modified (Session.save in trac.web.session). It is updated when there is no record for the session in the database (Session._new == True) and when session data is being modified and session is older than a day: {{{ if session_saved and now - self.last_visit > UPDATE_INTERVAL: }}} If user does nothing that changes session data, last_visit will not be updated. -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/554#comment:10> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker