Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user sessions page #3278

Merged
merged 37 commits into from
Oct 18, 2024
Merged

Add user sessions page #3278

merged 37 commits into from
Oct 18, 2024

Conversation

tadhgboyle
Copy link
Member

Replaces #3104
image
image

@tadhgboyle tadhgboyle added this to the 2.x.0 milestone Mar 8, 2023
$user_sessions_list = [];

// TODO: Should we display all sessions, or just active ones? Over time, the list could get very long if we display all sessions.
// Not really any reason to show inactive ones, since they can't action on them.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Showing inactive ones can help us find if the account has been compromised or not, Hiding sessions could miss unwanted logins

$sessions = $user->getActiveSessions();
$sessions_list = [];
// TODO: Should we display all sessions, or just active ones? Over time, the list could get very long if we display all sessions.
// Not really any reason to show inactive ones, since they can't action on them.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Showing inactive ones can help us find if the account has been compromised or not, Hiding sessions could miss unwanted logins

@tadhgboyle tadhgboyle modified the milestones: 2.x.0, 2.2.0 May 5, 2023
@samerton samerton force-pushed the user-sessions-page branch from 66e376f to 3cc81a3 Compare June 16, 2024 09:55
@samerton samerton force-pushed the user-sessions-page branch from 4d7fc41 to b75b7bf Compare June 23, 2024 14:48
@samerton samerton force-pushed the user-sessions-page branch from 666c80e to c0712ff Compare July 14, 2024 09:59
samerton
samerton previously approved these changes Jul 14, 2024
@tadhgboyle tadhgboyle requested a review from samerton October 18, 2024 06:18
@tadhgboyle tadhgboyle merged commit ab6a033 into develop Oct 18, 2024
25 of 26 checks passed
@tadhgboyle tadhgboyle deleted the user-sessions-page branch October 18, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants