%= content_for :page_title, t(".page_title") %> <%= settings_section title: t(".mfa_title"), subtitle: t(".mfa_description") do %>
Two-factor authentication is enabled
Your account is protected with an additional layer of security.
<% else %>Two-factor authentication is disabled
Enable 2FA to add an extra layer of security to your account.
<% end %><%= credential.nickname %>
<%= t(".webauthn_added", date: l(credential.created_at.to_date)) %> <% if credential.last_used_at.present? %> <%= t(".webauthn_last_used", time_ago: time_ago_in_words(credential.last_used_at)) %> <% end %>
<%= t(".webauthn_empty") %>
<%= identity.provider_config&.dig(:label) || identity.provider.titleize %>
<%= identity.info&.dig("email") || t(".sso_no_email") %>
<%= t(".sso_last_used") %>: <%= identity.last_authenticated_at&.to_fs(:short) || t(".sso_never") %>
<%= t(".sso_warning_message") %>
<%= t(".sso_no_identities") %>
<%= t(".sso_connect_hint") %>