plataformatec/devise — Issue #1631: sign_out and sign_out_all_scopes and timeout problem
Author: andrewstretche
Created: 2012-02-09 00:59:16+00:00
State: open

whenever sign_out or sign_out_all_scopes is called, it loads users with warden.user(scope), but if the user's session is timeout, it throws :warden, :scope => scope, :message => :timeout and redirect to the login page with session timeout message, which shouldn't happen. sign_out or sign_out_all_scopes should ignore checking timed out session and not throw :warden, :scope => scope, :message => :timeout instead.