From 78689057e0e0d80a8c9a099ac1b8f90f6a2821fe Mon Sep 17 00:00:00 2001 From: Samuel Young Date: Wed, 16 Jul 2025 16:32:56 +0100 Subject: [PATCH] fixup! update copy on password reset page if user is unconfirmed also check if they've been sent a confirmation email otherwise, this text shows if the user doesn't exist --- 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 7db9cfb48..0ff4b9414 100644 --- a/app/controllers/auth/passwords_controller.rb +++ b/app/controllers/auth/passwords_controller.rb @@ -67,7 +67,7 @@ protected end def after_sending_reset_password_instructions_path_for(_resource) - account_password_reset_confirmation_path(email: params.dig("user", "email"), unconfirmed: !resource.confirmed?) + account_password_reset_confirmation_path(email: params.dig("user", "email"), unconfirmed: resource.initial_confirmation_sent && !resource.confirmed?) end def after_resetting_password_path_for(resource)