Skip to content
Snippets Groups Projects
Commit ab65be7a authored by Douwe Maan's avatar Douwe Maan
Browse files

Use longer upload secret.

parent ab401a61
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -20,7 +20,7 @@ class FileUploader < CarrierWave::Uploader::Base
end
 
def self.generate_secret
SecureRandom.hex(5)
SecureRandom.hex
end
 
def secure_url
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment