{% extends "site/site_base.html" %} {% from 'macros/auth_page_wrapper.html' import auth_page_card %} {% block title %}Set Up Two-Factor Authentication - {{ product_name }}{% endblock %} {% block body_class %}dz-auth-page{% endblock %} {% block body %} {% call auth_page_card("Set Up 2FA", product_name) %} {# The macro renders #dz-auth-error. Success alert is unique to this flow, so we add it inline. #}
{# ─── TOTP (Authenticator App) ─────────────────────────────────────── #}Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)
Or enter the secret manually:
Receive a one-time code via email when you sign in.
Store these codes in a safe place. Each code can only be used once.