diff --git a/app/controllers/auth/passwords_controller.rb b/app/controllers/auth/passwords_controller.rb index 0ff4b9414..c321c2009 100644 --- a/app/controllers/auth/passwords_controller.rb +++ b/app/controllers/auth/passwords_controller.rb @@ -66,7 +66,7 @@ protected resource.need_two_factor_authentication?(request) ? :updated_2FA : :updated end - def after_sending_reset_password_instructions_path_for(_resource) + def after_sending_reset_password_instructions_path_for(resource) account_password_reset_confirmation_path(email: params.dig("user", "email"), unconfirmed: resource.initial_confirmation_sent && !resource.confirmed?) end