Skip to content

Commit

Permalink
Merge pull request #1334 from alphagov/update-csrf-protection
Browse files Browse the repository at this point in the history
Update CSRF protection
  • Loading branch information
MahmudH authored Apr 22, 2024
2 parents 8aa3163 + cbdedac commit 00e380a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ApplicationController < ActionController::Base

before_action :authenticate_support_user!

protect_from_forgery
protect_from_forgery with: :exception

rescue_from Timeout::Error, with: :service_unavailable

Expand Down

0 comments on commit 00e380a

Please sign in to comment.