Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-31 10:24:19 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-07-31 10:24:19 +0300
commitde8f8cdf068ba4f029539217daccbbf6ccc6c6f6 (patch)
tree139e15ec008e02c2746dfdfef8f9e694075f565d /lib
parent719eeb0f49e4200c345ba555b343a65227a3258e (diff)
Improve authentication activity code readability
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/auth/activity.rb10
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)