summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-07-13 12:11:12 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-07-13 12:11:12 +0200
commitaede876ea9997b219662fea75f246d8880100fd7 (patch)
tree63bb088cb20189edf8ce62db4e0f58eb226a2258 /app/models
parent527d7a5d4af1c20ce14929f2ef3a9ed41fd1e69b (diff)
downloadgitlab-ci-aede876ea9997b219662fea75f246d8880100fd7.tar.gz
Use secrets.db_key_base instead of config.secret_key_base
Diffstat (limited to 'app/models')
-rw-r--r--app/models/variable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/variable.rb b/app/models/variable.rb
index 676fed1..b40fcbf 100644
--- a/app/models/variable.rb
+++ b/app/models/variable.rb
@@ -14,5 +14,5 @@
class Variable < ActiveRecord::Base
belongs_to :project
- attr_encrypted :value, mode: :per_attribute_iv_and_salt, key: GitlabCi::Application.config.secret_key_base
+ attr_encrypted :value, mode: :per_attribute_iv_and_salt, key: GitlabCi::Application.secrets.db_key_base
end