diff options
Diffstat (limited to 'lib/gitlab/email/common.rb')
-rw-r--r-- | lib/gitlab/email/common.rb | 4 |
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 |