oivoodoo / devise_masquerade

Extension for devise, enable login as functionality. Add link to the masquerade_path(resource) and use it.
MIT License
541 stars 46 forks source link

Masquerading two users behavior #143

Open bruno-costanzo opened 2 months ago

bruno-costanzo commented 2 months ago

Hello, in a project we were using devise_masquerade 0.6 and now we upgrade to the latest 2.1.2.

The context is this

In 0.6, Admin is masqueraded always as the last user it tried to masquerade.

rodriguevara commented 1 month ago

You need to manually end the masquerade as the first user in order to use a second one. If you need two at the same time you could use another browser or incognito mode, that's the only workaround I can think of.