By default, with the users.update.last.login=true property set in portal.properties, the Portal logs timestamps of the user's last login. This information is stored in the user_ table in the lastlogindate column. The current behavior of the Portal seems to be that the lastlogindate is not updated until the user's next sign in.
Steps to reproduce:
1. Create user email@example.com
2. Sign in with user and query database: select emailaddress,logindate,lastlogindate from user_;
3. Sign off
Noticed no change.
4. Sign back in
The logindate and lastlogindate is updated.
5. Sign out
6. Sign back in
7. Sign out
In each instance when a user signs out, the Portal should record their lastlogindate.
When a user signs out, the Portal does not record the lastlogindate, but instead updates it upon the next sign in.
In 6.1 EE GA3 (6.1.30)
Issue reproduced in commit 2584646c4f582f185576dd0e2e5c43f5014198dc
Issue is reproduced in commit 64fc9f2bd13ef744c37d42e907229a5320f86d2d