summaryrefslogtreecommitdiff
path: root/lib/gitlab_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab_config.rb')
-rw-r--r--lib/gitlab_config.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab_config.rb b/lib/gitlab_config.rb
index 2bc2b50..9dc5c66 100644
--- a/lib/gitlab_config.rb
+++ b/lib/gitlab_config.rb
@@ -39,6 +39,10 @@ class GitlabConfig
@config['log_level'] ||= 'INFO'
end
+ def audit_usernames
+ @config['audit_usernames'] ||= false
+ end
+
# Build redis command to write update event in gitlab queue
def redis_command
if redis.empty?