Commit ab65be7a authored by Douwe Maan's avatar Douwe Maan

Use longer upload secret.

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