method

unverified_request_warning_message

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::RequestForgeryProtection
unverified_request_warning_message() private

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 391
      def unverified_request_warning_message # :nodoc:
        if valid_request_origin?
          "Can't verify CSRF token authenticity."
        else
          "HTTP Origin header (#{request.origin}) didn't match request.base_url (#{request.base_url})"
        end
      end
Register or log in to add new notes.