instance method
handle_unverified_request
Ruby on Rails 3.1.12
Since v2.3.18Signature
handle_unverified_request()
This is the method that defines the application behavior when a request is found to be unverified. By default, Rails resets the session when it finds an unverified request.
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 83
def handle_unverified_request
reset_session
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 83
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection