Skip to content
Snippets Groups Projects
Commit aede876e authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Use secrets.db_key_base instead of config.secret_key_base

parent 527d7a5d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment