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 'lib/gitlab/email/common.rb')
-rw-r--r--lib/gitlab/email/common.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/email/common.rb b/lib/gitlab/email/common.rb
index afee8d9cd3d..01316995c4d 100644
--- a/lib/gitlab/email/common.rb
+++ b/lib/gitlab/email/common.rb
@@ -54,6 +54,10 @@ module Gitlab
# It's looking for each <...>
references.scan(/(?!<)[^<>]+(?=>)/)
end
+
+ def encrypted_secrets
+ Settings.encrypted(config.encrypted_secret_file)
+ end
end
end
end