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
This commit is contained in:
Benjamin Neff 2019-04-30 00:45:44 +02:00
parent 3c06bb2f4c
commit ecda6eccf6
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -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)