Skip to content

Commit

Permalink
Use rack.session_options instead of directly change env
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanitoFatas committed Sep 15, 2015
1 parent 49316d8 commit 1fd9922
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -138,7 +138,7 @@ def handle_unverified_request
request = @controller.request
request.session = NullSessionHash.new(request)
request.flash = nil
request.env['rack.session.options'] = { skip: true }
request.session_options = { skip: true }
request.cookie_jar = NullCookieJar.build(request, {})
end

Expand Down

0 comments on commit 1fd9922

Please sign in to comment.