instance method
verify_authenticity_token
Ruby on Rails 3.1.12
Since v2.2.3Signature
verify_authenticity_token()
The actual before_filter that is used. Modify this to change how you handle unverified requests.
Source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 74
def verify_authenticity_token
unless verified_request?
logger.debug "WARNING: Can't verify CSRF token authenticity" if logger
handle_unverified_request
end
end
Defined in actionpack/lib/action_controller/metal/request_forgery_protection.rb line 74
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestForgeryProtection