diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-07-13 12:11:12 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-07-13 12:11:12 +0200 |
commit | aede876ea9997b219662fea75f246d8880100fd7 (patch) | |
tree | 63bb088cb20189edf8ce62db4e0f58eb226a2258 /app/models | |
parent | 527d7a5d4af1c20ce14929f2ef3a9ed41fd1e69b (diff) | |
download | gitlab-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.rb | 2 |
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 |