summaryrefslogtreecommitdiff
path: root/app/models/project_import_data.rb
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-28 09:55:19 +0200
committerJames Lopez <james@jameslopez.es>2016-06-28 09:55:19 +0200
commit31c95aa031ea6e5e7cd1bf8d08e3c6543f0ab2e7 (patch)
tree831f95363922a1c6848f6706d83b62a30d8eec73 /app/models/project_import_data.rb
parentc9a46263336dd38aef90b71995e2790be72d441d (diff)
downloadgitlab-ce-31c95aa031ea6e5e7cd1bf8d08e3c6543f0ab2e7.tar.gz
add missing attribute to attr_encrypted so it is fully backwards-compatible
Diffstat (limited to 'app/models/project_import_data.rb')
-rw-r--r--app/models/project_import_data.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project_import_data.rb b/app/models/project_import_data.rb
index ca8a9b4217b..331123a5a5b 100644
--- a/app/models/project_import_data.rb
+++ b/app/models/project_import_data.rb
@@ -7,6 +7,7 @@ class ProjectImportData < ActiveRecord::Base
marshal: true,
encode: true,
mode: :per_attribute_iv_and_salt,
+ insecure_mode: true,
algorithm: 'aes-256-cbc'
serialize :data, JSON