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
......@@ -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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment