Skip to content

Commit

Permalink
Fix code scanning alert no. 6: CSRF protection not enabled
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
tomhub and github-advanced-security[bot] authored Oct 17, 2024
1 parent 3ff9243 commit 6539790
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/go_redirector_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

class GoRedirectorController < ApplicationController
protect_from_forgery with: :exception
include XitoliteRepositoryFinder

# prevents login action to be filtered by check_if_login_required application scope filter
Expand Down

0 comments on commit 6539790

Please sign in to comment.