method

compare_with_real_token

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
compare_with_real_token(token, session) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 311
      def compare_with_real_token(token, session)
        ActiveSupport::SecurityUtils.secure_compare(token, real_csrf_token(session))
      end
Register or log in to add new notes.