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:
parent
3c06bb2f4c
commit
ecda6eccf6
1 changed files with 0 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue