#906: rename secret_key
This commit is contained in:
parent
7f21d40255
commit
13795a9eab
|
@ -5,7 +5,7 @@ class KeyPair < ActiveRecord::Base
|
|||
|
||||
attr_accessor :fingerprint
|
||||
attr_accessible :public, :secret, :repository_id
|
||||
attr_encrypted :secret, :key => APP_CONFIG['keys']['secret_key']
|
||||
attr_encrypted :secret, :key => APP_CONFIG['keys']['key_pair_secret_key']
|
||||
|
||||
validates :repository_id, :user_id, :presence => true
|
||||
validates :secret, :public, :presence => true, :length => { :maximum => 10000 }, :on => :create
|
||||
|
|
|
@ -7,7 +7,7 @@ common: &common
|
|||
abf_worker:
|
||||
publish_workers_count: 2
|
||||
keys:
|
||||
secret_key: 'secret_key'
|
||||
key_pair_secret_key: 'key_pair_secret_key'
|
||||
airbrake_api_key: 'airbrake_api_key'
|
||||
devise_pepper: 'devise_pepper'
|
||||
secret_token: 'secret_token'
|
||||
|
|
Loading…
Reference in New Issue