With v7, we now have “Member Activity Tracking.” This is excellent data, and it would be even better if we had access to it via liquid, for example: {{request.currentmember.lastlogindatetime}}
.
Here are a few ways this could be useful.
- Displaying any new content since the last login.
- Requiring and action based on the number of days since the last log-in, for example, updating contact information.
Password reset
This could also be used to require that the user update their password.