Browse Source

CLDC-4033 Fix name of variable

CLDC-4033-improve-flow-for-unconfirmed-users
David May-Miller 2 months ago committed by Samuel Young
parent
commit
c3929bc10d
  1. 2
      app/controllers/auth/passwords_controller.rb

2
app/controllers/auth/passwords_controller.rb

@ -66,7 +66,7 @@ protected
resource.need_two_factor_authentication?(request) ? :updated_2FA : :updated resource.need_two_factor_authentication?(request) ? :updated_2FA : :updated
end 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?) account_password_reset_confirmation_path(email: params.dig("user", "email"), unconfirmed: resource.initial_confirmation_sent && !resource.confirmed?)
end end

Loading…
Cancel
Save