Use longer upload secret.
This commit is contained in:
parent
ab401a6132
commit
ab65be7a2f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class FileUploader < CarrierWave::Uploader::Base
|
|||
end
|
||||
|
||||
def self.generate_secret
|
||||
SecureRandom.hex(5)
|
||||
SecureRandom.hex
|
||||
end
|
||||
|
||||
def secure_url
|
||||
|
|
Loading…
Reference in a new issue