From d79ec2aca169893780813bf9ef88ccb5e2278e97 Mon Sep 17 00:00:00 2001 From: Samuel Young Date: Thu, 28 Aug 2025 12:10:10 +0100 Subject: [PATCH] CLDC-4033: Correct name of resource variable this override function is passed a resource symbol, not a resource object --- 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 c321c2009..e4a21675b 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_name) account_password_reset_confirmation_path(email: params.dig("user", "email"), unconfirmed: resource.initial_confirmation_sent && !resource.confirmed?) end