app/views/shared/_cancel_or_back_to_options.html.erb
<%= render PageFooterComponent.new do %>
<% if MfaPolicy.new(current_user).two_factor_enabled? && !in_multi_mfa_selection_flow? %>
<%= link_to t('links.cancel'), account_path %>
<% else %>
<%= link_to t('two_factor_authentication.choose_another_option'), authentication_methods_setup_path %>
<% end %>
<% end %>