404labfr / 404labfr/laravel-impersonate

Hide session data using Jetstream?

未关闭
#155 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
PHP
星标
2.3k
派生
235
PR 合并指标
30 天内没有已合并 PR

描述

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!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。