Commit b17f36f0 authored by Douwe Maan's avatar Douwe Maan

Add reset_session for the :reset_session strategy.

parent 571ba5a7
# Protects OmniAuth request phase against CSRF.
module OmniAuth
# Based from ActionController::RequestForgeryProtection.
# Based on ActionController::RequestForgeryProtection.
class RequestForgeryProtection
def initialize(env)
@env = env
......@@ -15,6 +15,10 @@ module OmniAuth
request.session
end
def reset_session
request.reset_session
end
def params
request.params
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment