{% extends "tungsten/layout/app.html" %} {% import "tungsten/components/ui.html" as ui %} {% block content %} {% set subheading = 'Protect your account with a code from your phone each time you sign in.' %} {% set breadcrumbs = [(__('Profile'), panel.url('profile')), (__('Two-factor authentication'), None)] %} {% include "tungsten/components/page-header.html" %}
{% if step in ('enabled', 'codes') %}{{ __("You'll be asked for a code from your authenticator app when you sign in.") }}{% if remaining %} You have {{ remaining }} recovery codes left.{% endif %} {% else %}{{ __('Use an app like Google Authenticator, Microsoft Authenticator or 1Password.') }}{% endif %}
{{ secret }}{{ __('Save these recovery codes') }}
{{ __("Each code works once if you lose your phone. They won't be shown again.") }}