Skip to content

Commit

Permalink
Remove U2F registration button (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMacNaughton authored Nov 5, 2023
1 parent a6e4276 commit 98dcf02
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/views/profile/authentication_devices/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
<%- else %>
<%= link_to _('Enable TOTP 2FA'), new_user_2fa_registration_path, class: 'btn btn-primary' %>
<%- end %>
<%= link_to t('devise.registrations.register_u2f'), new_user_webauthn_registration_path, class: "btn btn-primary" %>

<%= link_to t('devise.registrations.register_webauthn'), new_user_webauthn_registration_path, class: "btn btn-primary" %>
<%= form_tag user_2fa_codes_path, {style: 'display: inline-block', method: :post} do |f| %>
<%= submit_tag _('Regenerate recovery codes'), class: 'btn btn-danger' %>
Expand Down

0 comments on commit 98dcf02

Please sign in to comment.