{% extends "base.html" %} {% block tab_title %}{{ gettext('Enable FreeOTP') }}{% endblock %} {% block body %} {% if user.is_totp %}
{{ 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.") }}
{{ 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('Once you have configured your YubiKey, enter the 6-digit verification code below:') }}
{% endif %} {% endblock %}