devise_masquerade icon indicating copy to clipboard operation
devise_masquerade copied to clipboard

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

Open glhcaml-fsl opened this issue 2 years ago • 1 comments

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 avatar Feb 14 '23 19:02 glhcaml-fsl

ping @oivoodoo

glhcaml-fsl avatar Feb 16 '23 11:02 glhcaml-fsl