404labfr / 404labfr/laravel-impersonate

Hide session data using Jetstream?

Open
#155 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
2.3k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

Is there a way to not log browser session data when you impersonate? E.g. I like the user to see their own history with ip and os under profile in jetstream, but not log when you’re impersonating.

I assume that a session record is required to be logged in, but would it be an idea to add a column to the session table with a impersonate flag so that those records could be hidden in the user profile? Not sure how hard that would be to tap into.

Or, delete the session record when leaving impersonation?

Any ideas? Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.