Are these fields set up such that "thislogin" is actually the most recent login, and "lastlogin" is the 2nd most recent login? I see some records in my modx_user_attributes table that have a '0' for 'lastlogin' and a timestamp value in 'thislogin'. I'm assuming those users only ever logged in once.
I'm just looking for verification on what values these fields are supposed to hold / how they are supposed to work.
-
- 5 Posts
As far as I can tell, you are correct. "thislogin" displays the time of their current login (aka: the time when they most recently logged in), and "lastlogin" is where "thislogin" gets stored upon someone signing in again.
I discovered this when I noticed that all my users who have only logged in once not displaying a Last Login.