Use longer upload secret.

This commit is contained in:
Douwe Maan 2015-02-16 22:08:55 +01:00
parent ab401a6132
commit ab65be7a2f
1 changed files with 1 additions and 1 deletions

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