optimize document upload

This commit is contained in:
Pete Matsyburka committed 2024-04-06 17:08:45 +03:00
1 parent cab9672d25
commit f3f08797f7
3 files changed
+26 -52

No files matched your search

-3
View File
@@ -61,9 +61,6 @@ Rails.configuration.to_prepare do
end
ActiveStorage::DirectUploadsController.before_action do
next if current_user
next if Submitter.find_signed(cookies[:submitter_sid])
head :forbidden
end