提交 d4b9a3fa 编写于 作者: S Santiago Pastorino

Call get_cookie to allow the method to be overriden by subclasses

上级 0e2bd1d5
......@@ -57,7 +57,7 @@ def destroy_session(env, session_id, options)
def unpacked_cookie_data(env)
env["action_dispatch.request.unsigned_session_cookie"] ||= begin
stale_session_check! do
if data = cookie_jar(env)[@key]
if data = get_cookie(env)
data.stringify_keys!
end
data || {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册