diff options
author | ash <smashwilson@gmail.com> | 2013-05-18 19:42:48 +0000 |
---|---|---|
committer | ash <smashwilson@gmail.com> | 2013-05-18 19:42:48 +0000 |
commit | 90b9e113812fb566b0535e44df3f3279bf6c4438 (patch) | |
tree | e88a59cec3a9d62be6c319e093b5fe816ca3daaa /lib/gitlab_config.rb | |
parent | ceb23a6230850f26a8c3eb2282ae25af6aa23665 (diff) | |
download | gitlab-shell-90b9e113812fb566b0535e44df3f3279bf6c4438.tar.gz |
Allow administrators to log users by key id (faster) or by username (clearer).
Diffstat (limited to 'lib/gitlab_config.rb')
-rw-r--r-- | lib/gitlab_config.rb | 4 |
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? |