application_controller.rb
code Severe
Cross-Site Request Forgery
Discovered almost 5 years ago
Source: static code analysis
Category: Cross-Site Request Forgery
Confidence level: Medium

Problem

protect_from_forgery should be configured with 'with: :exception'

Location

app/controllers/application_controller.rb


Category description: Failure to verify that the sender of a web request actually intended to do so.

Solution: fix the issue in app/controllers/application_controller.rb or mark it as false positive.