plataformatec/devise — Issue #1411: @current_{mapping} is not cleared during sign_in/sign_out
Author: igagnidz
Created: 2011-11-02 22:05:27+00:00
State: open

I noticed that current_user has a cached variable @current_user. when using sign_in and sign_out helper methods in controller, my @current_user has a previous cached user so it doesnt return new user.

Should this qualify as bug? or it is supposed to be like that?
Thanks