Use longer upload secret.

This commit is contained in:
Douwe Maan 2015-02-16 22:08:55 +01:00
parent ab401a6132
commit ab65be7a2f

View file

@ -20,7 +20,7 @@ class FileUploader < CarrierWave::Uploader::Base
end
def self.generate_secret
SecureRandom.hex(5)
SecureRandom.hex
end
def secure_url