Merge pull request #7430 from artoscinote/ma_SCI_10592

Make sure current_user is set earlier in asset syncs controller [SCI-10592]
This commit is contained in:
Martin Artnik 2024-04-08 09:20:02 +02:00 committed by GitHub
commit 67f9c141fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ class AssetSyncController < ApplicationController
skip_before_action :authenticate_user!, only: %i(update download)
skip_before_action :verify_authenticity_token, only: %i(update download)
before_action :authenticate_asset_sync_token!, only: %i(update download)
prepend_before_action :authenticate_asset_sync_token!, only: %i(update download)
before_action :check_asset_sync
def show