NoamB/sorcery — Issue #94: Problem with logout function and current_user value.
Author: fzingg
Created: 2011-10-16 08:32:09+00:00
State: open

When calls logout, only resets session (reset_session) but not resets current_user to nil.

So when using logged_in? function after logout, it returns true because logged_in? tests current_user value.