From c3929bc10db059b3e8f2d12eaaba775365b3c02c Mon Sep 17 00:00:00 2001 From: David May-Miller Date: Mon, 21 Jul 2025 17:31:05 +0100 Subject: [PATCH] CLDC-4033 Fix name of variable --- app/controllers/auth/passwords_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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