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

Proper way to log masquerade "login" and "logout" #127

Open
glhcaml-fsl opened this issue Feb 14, 2023 · 1 comment
Open

Proper way to log masquerade "login" and "logout" #127

glhcaml-fsl opened this issue Feb 14, 2023 · 1 comment

Comments

@glhcaml-fsl
Copy link

glhcaml-fsl commented Feb 14, 2023

Hello.

I'm trying to log when an Admin is logging in and out as a User. My approach was to use rails callbacks in show and back actions in the masquerades controller, but when admin masquerades for few seconds, there are no logs, what you guys think is the best approach for it?

@glhcaml-fsl
Copy link
Author

glhcaml-fsl commented Feb 16, 2023

ping @oivoodoo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant