{% extends "account/totp/base.html" %} {% block title %}Set up two-factor authentication{% endblock %} {% block heading %}Set up two-factor authentication{% endblock %} {% block subheading %}Protect your account with an authenticator app{% endblock %} {% block card %}
  1. 1. Scan this QR code with Google Authenticator, 1Password, Authy or any TOTP app.
    {{ qr_svg }}
  2. Can't scan it? Enter this key manually: {{ secret }}
    Show setup link {{ otpauth_uri }}
  3. 2. Enter the 6-digit code your app shows to finish.
{% include "account/totp/_code_form.html" with code_label="Authentication code" code_maxlength=6 submit_label="Activate 2FA" %} {% endblock %}