Sha256: fcccd6d85db38e047d5608c28d2631cffbaaf5009a9cb2ab2b2177fc4a356bc4
Contents?: true
Size: 458 Bytes
Versions: 5
Compression:
Stored size: 458 Bytes
Contents
module Sso module Warden module Hooks class BeforeLogout include ::Sso::Warden::Support def call # Only run if user is logged in if logged_in? debug { "#BeforeLogout Sso::Session - #{session["sso_session_id"]}" } debug { "user is #{user.inspect}" } ::Sso::Session.logout(session["sso_session_id"]) end return nil end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems