ankane / pretender

Log in as another user in Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto logout user

sulemanuzair opened this issue · comments

Hi there,
I wanted to ask whether the functionality to auto log-out pretended user should be added in gem. Currently, I am thinking to achieve it through devise timeoutable module for my case.

Thanks :)

Hey @sulemanuzair, it's an interesting idea, but think it's probably not common enough of a need to add. If you find a way to make it work, would be great to share for others who are interested.

Sure. I moved to some other tasks during this time. But will definitely share my results in this week.

Cleaning up issues, but still feel free to share

@sulemanuzair did you find out a way to timeout the impersonation session? Would be curious to see what you found?

@chadwilken Sorry, I couldn't continue on this but i had the idea to follow Devise's timeoutable module for this case.