mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 00:11:22 +08:00
Remove unnecessary CSRF token verification skips [SCI-11325]
This commit is contained in:
parent
2dd461e650
commit
69a127041e
2 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue