diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-17 00:08:55 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-18 00:23:31 +0300 |
commit | ab65be7a2f5d46a681d882f4f90d1f0438c64b02 (patch) | |
tree | a5d3f81dec844ba8a35e9453375d00f415550093 | |
parent | ab401a6132411294cee03cf4e0902ec75c2c42dc (diff) |
Use longer upload secret.
-rw-r--r-- | app/uploaders/file_uploader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/file_uploader.rb b/app/uploaders/file_uploader.rb index c040f6bbe92..bdfbfc668bd 100644 --- a/app/uploaders/file_uploader.rb +++ b/app/uploaders/file_uploader.rb @@ -20,7 +20,7 @@ class FileUploader < CarrierWave::Uploader::Base end def self.generate_secret - SecureRandom.hex(5) + SecureRandom.hex end def secure_url |