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

Open
wants to merge 29 commits into
base: develop
Choose a base branch
from
Open

Add user sessions page #3278

wants to merge 29 commits into from

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
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.

None yet

3 participants