Remove unnecessary CSRF token verification skips [SCI-11325]

This commit is contained in:
Martin Artnik 2024-11-28 11:56:47 +01:00
parent 2dd461e650
commit 69a127041e
2 changed files with 0 additions and 3 deletions

View file

@ -3,8 +3,6 @@
class GeneSequenceAssetsController < ApplicationController
include ActiveStorage::SetCurrent
skip_before_action :verify_authenticity_token
before_action :check_open_vector_service_enabled, except: %i(new edit)
before_action :load_vars, except: %i(new create)
before_action :load_create_vars, only: %i(new create)

View file

@ -3,7 +3,6 @@
class ResultsController < ApplicationController
include Breadcrumbs
include TeamsHelper
skip_before_action :verify_authenticity_token, only: %i(create update destroy duplicate)
before_action :load_my_module
before_action :load_vars, only: %i(destroy elements assets upload_attachment archive restore destroy
update_view_state update_asset_view_mode update duplicate)