diff options
author | James Lopez <james@jameslopez.es> | 2016-06-28 11:14:24 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-02-01 05:53:58 +0300 |
commit | 5075fb3bb7d0d91cec697095dc7c7803333a7ffb (patch) | |
tree | 9fd90b2fa3b57c7b2dcc052301f892841e23a0f5 /app/models/pages_domain.rb | |
parent | 877c121cfcca1f9bb116ff0a8831c5a9096e2853 (diff) |
fix attr_encrypted in EE
Diffstat (limited to 'app/models/pages_domain.rb')
-rw-r--r-- | app/models/pages_domain.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/pages_domain.rb b/app/models/pages_domain.rb index 2f4cded15c8..0b9ebf1ffe2 100644 --- a/app/models/pages_domain.rb +++ b/app/models/pages_domain.rb @@ -12,6 +12,7 @@ class PagesDomain < ActiveRecord::Base attr_encrypted :key, mode: :per_attribute_iv_and_salt, + insecure_mode: true, key: Gitlab::Application.secrets.db_key_base, algorithm: 'aes-256-cbc' |