diff options
-rw-r--r-- | app/controllers/registrations_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index e8ae59ba473..0065ce46071 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -45,8 +45,8 @@ class RegistrationsController < Devise::RegistrationsController user.confirmed? ? dashboard_projects_path : users_almost_there_path end - def after_inactive_sign_up_path_for(_resource) - Gitlab::AppLogger.info("Authentication: NewUserWithConfirmation username:#{_resource.username} email:#{_resource.email} ip:#{request.remote_ip}") + def after_inactive_sign_up_path_for(resource) + Gitlab::AppLogger.info("Authentication: NewUserWithConfirmation username:#{resource.username} email:#{resource.email} ip:#{request.remote_ip}") users_almost_there_path end |