Know if user is currently switched
-
After the admin user switches to said user, is there an easy way in the template to know that it’s not the real user? I suppose there’s a cookie or something but I’m not sure how to fetch it.
I want to do something like this:
`
if($notActualUser) {
$hideSuperSensitiveData = true;
}
`
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Know if user is currently switched’ is closed to new replies.