{% extends "base.html" %} {% block tab_title %}{{ gettext('Enable FreeOTP') }}{% endblock %} {% block body %} {% if user.is_totp %}

{{ gettext('Enable FreeOTP') }}

{{ gettext("You're almost done! To finish resetting your two-factor authentication, follow the instructions below to set up FreeOTP. Once you've added the entry for your account in the app, enter one of the 6-digit codes from the app to confirm that two-factor authentication is set up correctly.") }}

  1. {{ gettext('Install FreeOTP on your phone') }}
  2. {{ gettext('Open the FreeOTP app') }}
  3. {{ gettext('Tap the QR code symbol at the top') }}
  4. {{ gettext('Your phone will now be in "scanning" mode. When you are in this mode, scan the barcode below:') }}
{{ user.shared_secret_qrcode }}

{{ gettext("Can't scan the barcode? You can manually pair FreeOTP with your SecureDrop account by entering the following two-factor secret into the app:") }}

{{ user.formatted_otp_secret }}

{{ gettext("Once you have paired FreeOTP with this account, enter the 6-digit verification code below:") }}

{% else %}

{{ gettext('Enable YubiKey (OATH-HOTP)') }}

{{ gettext('Once you have configured your YubiKey, enter the 6-digit verification code below:') }}

{% endif %}
{% endblock %}