Sha256: 648ff6c3b2103c1890357ff3065846439d813ac2eca609e886e94889af3c5bd2
Contents?: true
Size: 502 Bytes
Versions: 4
Compression:
Stored size: 502 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"]) session["sso_session_id"] = nil end return nil end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems