mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
warden.logout(*scopes) instead of warden.logout(*Devise.mappings.keys)
This commit is contained in:
parent
819db39263
commit
2475faf9c7
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module Devise
|
||||||
scopes = Devise.mappings.keys
|
scopes = Devise.mappings.keys
|
||||||
scopes.each { |scope| warden.user(scope) }
|
scopes.each { |scope| warden.user(scope) }
|
||||||
warden.raw_session.inspect
|
warden.raw_session.inspect
|
||||||
warden.logout(*Devise.mappings.keys)
|
warden.logout(*scopes)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns and delete the url stored in the session for the given scope. Useful
|
# Returns and delete the url stored in the session for the given scope. Useful
|
||||||
|
|
Loading…
Reference in a new issue