summaryrefslogtreecommitdiff
path: root/app/uploaders/file_uploader.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-16 22:08:55 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-17 22:23:31 +0100
commitab65be7a2f5d46a681d882f4f90d1f0438c64b02 (patch)
treea5d3f81dec844ba8a35e9453375d00f415550093 /app/uploaders/file_uploader.rb
parentab401a6132411294cee03cf4e0902ec75c2c42dc (diff)
downloadgitlab-ce-ab65be7a2f5d46a681d882f4f90d1f0438c64b02.tar.gz
Use longer upload secret.
Diffstat (limited to 'app/uploaders/file_uploader.rb')
-rw-r--r--app/uploaders/file_uploader.rb2
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