method

unverified_request_warning_message

Importance_0
v7.0.0 - Show latest stable - 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 287
      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.