Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gems/attr_encrypted/lib/attr_encrypted.rb')
-rw-r--r--vendor/gems/attr_encrypted/lib/attr_encrypted.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/gems/attr_encrypted/lib/attr_encrypted.rb b/vendor/gems/attr_encrypted/lib/attr_encrypted.rb
index 82a14086ade..28508e6d260 100644
--- a/vendor/gems/attr_encrypted/lib/attr_encrypted.rb
+++ b/vendor/gems/attr_encrypted/lib/attr_encrypted.rb
@@ -186,6 +186,8 @@ module AttrEncrypted
@attr_encrypted_options ||= superclass.attr_encrypted_options.dup
end
+ # Encrypted attributes are ignored as part of ApplicationSetting Audit Event
+ # Log. If the prefix is updated then the corresponding Regex in ApplicationSettingChangesAuditor should also be updated.
def attr_encrypted_default_options
{
prefix: 'encrypted_',