diff options
author | Robert Speicher <robert@gitlab.com> | 2017-10-02 21:10:01 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-10-02 21:10:01 +0300 |
commit | 4d5ea927d6e3a91c1b89f8978dbd5fb67e723452 (patch) | |
tree | b7015d9c08236bbd7f84c1c8d6e73650594de4a3 /app/controllers/confirmations_controller.rb | |
parent | 95f613837dca391a77eed9f948326b982c77d723 (diff) | |
parent | 7dac9624bc19019f7432cf12ac8713a5dad03b69 (diff) |
Merge branch 'enhance-logging' into 'master'
Improved file logging for authentication events
See merge request gitlab-org/gitlab-ce!9196
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 10d2665c06a..0c2646d7bf0 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(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 |