Logout action does not terminate online status
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
1. Log in
2. Visit your profile, the status will say Online
3. Log out
4. Revisit your profile, it will still say Online (even when refreshed/from another browser)
Looking at the migrations I'm guessing the online status is totally derived from the one last_seen_time entry in the user table? There should be a way for the status to be terminated immediately if a user manually logs out.
Contributor guide
Research direction
Start by inspecting the migrations and the user table's last_seen_time entry, then trace the logout action described in the reproduction steps. Reproduce the status in another browser or after refreshing; done means logging out changes the profile status from Online immediately.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100