flarum / flarum/issue-archive

Logout action does not terminate online status

Open
#429 28 comments 0 reactions 0 assignees View on GitHub
needs-discussion prio/none
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.