Libra CodeHub
CedarCopilot/cedar-mail
staging
Code
Pull requests
8
Commits
Insights
Runs
cedar-mail
/
apps
/
mail
/
modules
/
auth
/
components
two-factor-setup.tsx
feat(auth): make the two-factor setup code scannable Enrollment handed out a base32 setup key to type by hand — every authenticator app takes one, but nobody wants to. The otpauth URI was already in client state; this encodes it. Scanning becomes the primary path and the key moves behind a disclosure, since a password manager on the same screen as the QR has no camera. The QR paints its own white ground: Cedar renders dark by default and an inverted code will not scan. Co-Authored-By: Claude Opus 5 (1M context) <<email>>
Aug 31, 2026, 9:54 AM