Unverified Commit ecda6ecc authored by Benjamin Neff's avatar Benjamin Neff
Browse files

Remove password reset and sign up link below two factor form

They don't make sense on that page, because at this stage, the user
already has an account and also has already entered their password.

closes #8005
parent 3c06bb2f
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -29,11 +29,3 @@
      = f.button t("devise.sessions.new.sign_in"),
      type: :submit,
      class: "btn btn-large btn-block btn-primary"

  .text-center
    - if display_password_reset_link?
      = link_to t("devise.shared.links.forgot_your_password"),
        new_password_path(resource_name), id: "forgot_password_link"
      %br
    - if display_registration_link?
      = link_to t("devise.shared.links.sign_up"), new_registration_path(resource_name)