diff options
author | Brian Neel <brian@gitlab.com> | 2017-09-27 23:54:52 -0400 |
---|---|---|
committer | Brian Neel <brian@gitlab.com> | 2017-09-27 23:54:52 -0400 |
commit | 66d9d258ad8ab168018b5fb627e59c2385d5fdc0 (patch) | |
tree | 17e0cdd6f8f3aa055caf550e1bfa96d20b39f8c1 /app/controllers/concerns/authenticates_with_two_factor.rb | |
parent | d13349af47295065b8a658b0d74499c59ff3ad4b (diff) | |
download | gitlab-ce-66d9d258ad8ab168018b5fb627e59c2385d5fdc0.tar.gz |
Standardize capitalization and status
Diffstat (limited to 'app/controllers/concerns/authenticates_with_two_factor.rb')
-rw-r--r-- | app/controllers/concerns/authenticates_with_two_factor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/concerns/authenticates_with_two_factor.rb b/app/controllers/concerns/authenticates_with_two_factor.rb index 5281dbe11c4..db8c362f125 100644 --- a/app/controllers/concerns/authenticates_with_two_factor.rb +++ b/app/controllers/concerns/authenticates_with_two_factor.rb @@ -59,7 +59,7 @@ module AuthenticatesWithTwoFactor sign_in(user) else user.increment_failed_attempts! - Gitlab::AppLogger.info("Failed login: user=#{user.username} ip=#{request.remote_ip} method=OTP") + Gitlab::AppLogger.info("Failed Login: user=#{user.username} ip=#{request.remote_ip} method=OTP") flash.now[:alert] = 'Invalid two-factor code.' prompt_for_two_factor(user) end @@ -76,7 +76,7 @@ module AuthenticatesWithTwoFactor sign_in(user) else user.increment_failed_attempts! - Gitlab::AppLogger.info("Failed login: user=#{user.username} ip=#{request.remote_ip} method=U2F") + Gitlab::AppLogger.info("Failed Login: user=#{user.username} ip=#{request.remote_ip} method=U2F") flash.now[:alert] = 'Authentication via U2F device failed.' prompt_for_two_factor(user) end |