{# 2FA enrollment — TOTP authenticator setup + email OTP + recovery codes. Contract: ~/.claude/skills/ux-architect/components/auth-2fa.md (UX-077, 2/3) #} {% 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 %} {# v0.62 CSS refactor: inline Tailwind → semantic .dz-auth-* family. #} {% 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.