Sha256: a31b97e218d1aac23dd7f1a3fa4c7b501eddaa309e61ab50edee618fbd0f9ede
Contents?: true
Size: 693 Bytes
Versions: 14
Compression:
Stored size: 693 Bytes
Contents
require "action_controller/session/redis_session_store" module DeviseCasAuthenticatable module SingleSignOut module RedisSessionStore include DeviseCasAuthenticatable::SingleSignOut::SetSession def destroy_session(sid) @pool.del(sid) end end end end if ::Redis::Store.rails3? ActionDispatch::Session::RedisSessionStore.class_eval do include DeviseCasAuthenticatable::SingleSignOut::RedisSessionStore alias_method_chain :set_session, :storage end else ActionController::Session::RedisSessionStore.class_eval do include DeviseCasAuthenticatable::SingleSignOut::RedisSessionStore alias_method_chain :set_session, :storage end end
Version data entries
14 entries across 14 versions & 3 rubygems