flagsmith
flagsmith copied to clipboard
Improve last login data
Is your feature request related to a problem? Please describe.
The last login data only shows data for users that have logged in rather than accessed the platform.
Describe the solution you'd like
Last login should reflect when users last accessed the platform.
Describe alternatives you've considered
N/a
Additional context
Related to this PR and this issue.
Steps to reproduce the issue:
- Be an organisation admin.
- Copy an invite link.
- Paste the link in a different browser or incogneto window.
- Complete signup (which logs the user in at the same time).
- Go back to the organisation admin browser and go to the
memberstab of the manage page, they now all say "Never" despite being logged in.
Suggestion from @Zaimwa9 is to just update the last_login field on the user on a new call to /me endpoint.