diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-31 09:24:19 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-31 09:24:19 +0200 |
commit | de8f8cdf068ba4f029539217daccbbf6ccc6c6f6 (patch) | |
tree | 139e15ec008e02c2746dfdfef8f9e694075f565d /lib | |
parent | 719eeb0f49e4200c345ba555b343a65227a3258e (diff) | |
download | gitlab-ce-de8f8cdf068ba4f029539217daccbbf6ccc6c6f6.tar.gz |
Improve authentication activity code readability
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/auth/activity.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/gitlab/auth/activity.rb b/lib/gitlab/auth/activity.rb index 2004d1f393e..9f84c578d4f 100644 --- a/lib/gitlab/auth/activity.rb +++ b/lib/gitlab/auth/activity.rb @@ -7,15 +7,15 @@ module Gitlab extend Gitlab::Utils::StrongMemoize COUNTERS = { - user_authenticated: 'Counter of total successful authentication events', - user_unauthenticated: 'Counter of total authentication failures', - user_not_found: 'Counter of total failed log-ins when user is unknown', + user_authenticated: 'Counter of successful authentication events', + user_unauthenticated: 'Counter of authentication failures', + user_not_found: 'Counter of failed log-ins when user is unknown', user_password_invalid: 'Counter of failed log-ins with invalid password', user_session_override: 'Counter of manual log-ins and sessions overrides', - user_session_destroyed: 'Counter of total user sessions being destroyed', + user_session_destroyed: 'Counter of user sessions being destroyed', user_two_factor_authenticated: 'Counter of two factor authentications', user_sessionless_authentication: 'Counter of sessionless authentications', - user_blocked: 'Counter of total sign in attempts when user is blocked' + user_blocked: 'Counter of sign in attempts when user is blocked' }.freeze def initialize(user, opts) |