diff options
author | Brian Neel <brian@gitlab.com> | 2017-08-23 00:40:16 -0400 |
---|---|---|
committer | Brian Neel <brian@gitlab.com> | 2017-09-27 21:52:12 -0400 |
commit | 8fa87ea3fb862bdae624aec360c80b12cda3905c (patch) | |
tree | 75373fc281b8f497a0bb641cce1f911b49d1e0e0 /app/controllers/confirmations_controller.rb | |
parent | 76b2a12700f411ff5fef80c06a34d129650b672a (diff) | |
download | gitlab-ce-8fa87ea3fb862bdae624aec360c80b12cda3905c.tar.gz |
# This is a combination of 1 commit.
# This is the 1st commit message:
Add logging for all web authentication events
# This is the commit message #2:
Re-add underscore to after_inactive_sign_up_path_for
# This is the commit message #3:
Standardize on username=
# This is the commit message #4:
after_filter -> after_action, _resource -> resource
# This is the commit message #5:
Add two-factor login failures and account lockouts
# This is the commit message #6:
Move logging from two-factor concern to user model
# This is the commit message #7:
Add spaces around default parameter assignments
# This is the commit message #8:
Move logs out of user model
# This is the commit message #9:
Replace filtered_params with user_params
# This is the commit message #10:
Standardize case
# This is the commit message #1:
Fixes for username and AppLogger.info
Diffstat (limited to 'app/controllers/confirmations_controller.rb')
-rw-r--r-- | app/controllers/confirmations_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb index 306afb65f10..1b87ae0ccb2 100644 --- a/app/controllers/confirmations_controller.rb +++ b/app/controllers/confirmations_controller.rb @@ -14,6 +14,7 @@ class ConfirmationsController < Devise::ConfirmationsController if signed_in?(resource_name) after_sign_in_path_for(resource) else + Gitlab::AppLogger.info("Email Confirmed: username=#{resource.username} email=#{resource.email} ip=#{request.remote_ip}") flash[:notice] += " Please sign in." new_session_path(resource_name) end |