Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-03-04 18:23:19 +0300
committerJames Lopez <james@jameslopez.es>2016-03-04 18:23:19 +0300
commitc2b33d3b71215858892debeb45d93a69d530fd8e (patch)
tree210b42fbd215f8253ca6ee41c4349d785be665d9 /app/models/project_import_data.rb
parent06b36c00d55df38cd2aaa4d5251185485c8abe5c (diff)
added import url exposer to construct URL withunencrypted credentials
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 2900b86d643..493c82a94fa 100644
--- a/app/models/project_import_data.rb
+++ b/app/models/project_import_data.rb
@@ -13,6 +13,7 @@ require 'file_size_validator'
class ProjectImportData < ActiveRecord::Base
belongs_to :project
attr_encrypted :credentials, key: Gitlab::Application.secrets.db_key_base
+ serialize :credentials, JSON
serialize :data, JSON