flyerhzm / switch_user

Easily switch current user

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accessing `original_user` seems to be broken

jschold opened this issue · comments

For years the code below worked to access original_user from an application, but it seems to have stopped in the past few weeks. Any chance this is stemming from the gem? Thanks for taking a look!

provider = SwitchUser::Provider.init(self)
provider.original_user

@jschold this might be because of the same problem I'm having #135 . Are you getting an incorrect original_user?