mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
optimize document upload
This commit is contained in:
1 parent
cab9672d25
commit
f3f08797f7
3 files changed
+26
-52
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user