method
compare_with_real_token
v7.1.3.2 -
Show latest stable
- Class:
ActionController::RequestForgeryProtection
compare_with_real_token(token, session = nil)private
No documentation available.
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 530
def compare_with_real_token(token, session = nil) # :doc:
ActiveSupport::SecurityUtils.fixed_length_secure_compare(token, real_csrf_token(session))
end