diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-08-01 18:08:59 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-08-01 18:08:59 +0300 |
commit | 9c6aa0a0a67eaddbbde2fd21df9a1a775aced16a (patch) | |
tree | 74c4f9b1ee3b32f43914e2c2df72bd2dfcfe0ea0 /lib/gitlab | |
parent | 4eb9d6a96fd74e57ebc7c0c57f10db7e54d29205 (diff) |
Improve authentication events-related code readability
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/auth/blocked_user_tracker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth/blocked_user_tracker.rb b/lib/gitlab/auth/blocked_user_tracker.rb index d2d415eb8db..9827a3fe45d 100644 --- a/lib/gitlab/auth/blocked_user_tracker.rb +++ b/lib/gitlab/auth/blocked_user_tracker.rb @@ -8,7 +8,7 @@ module Gitlab @auth = auth end - def log_blocked_user_activity! + def log_activity! return unless @user.blocked? Gitlab::AppLogger.info <<~INFO |