Skip to content

2FA enrollment UX: submit on Enter + avoid wrong Authy logo#38

Merged
PeterRounce merged 2 commits into
mainfrom
claude/2fa-enter-to-confirm
Jun 16, 2026
Merged

2FA enrollment UX: submit on Enter + avoid wrong Authy logo#38
PeterRounce merged 2 commits into
mainfrom
claude/2fa-enter-to-confirm

Conversation

@PeterRounce

@PeterRounce PeterRounce commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary

Two small admin 2FA enrollment improvements (Settings → Two-Factor Authentication):

  1. Submit confirm code on Enter — the 6-digit code field triggers Confirm on Enter (same guard as the button: non-empty, not already verifying) and autofocuses when the enrollment dialog opens.
  2. Avoid the wrong Authy logo — the otpauth issuer changes from Bolt Card Hub to Boltcard Hub. Authy picks a logo by matching the issuer against its own brand database and was false-matching the unrelated Bolt brand. A single "Boltcard" token makes it fall back to a neutral icon. (The otpauth standard has no logo field and Authy ignores any embedded image=, so the issuer string is the only available lever — effect on Authy can't be verified from CI.)

No API/backend behavior changes beyond the issuer string. Existing enrollments are unaffected (issuer is embedded per-enrollment at setup time).

Version bump 0.20.1 → 0.20.2 (PATCH per SemVer).

Test Plan

  • go test -race ./... and npm run build pass; totp_test.go asserts the Boltcard issuer.
  • Settings → Enable 2FA → type code → press Enter → enrollment confirms.
  • Empty field + Enter does nothing; Enter while "Verifying..." doesn't double-submit.
  • Scan the new QR in Authy → no longer shows the wrong (Bolt) logo.

🤖 Generated with Claude Code

PeterRounce and others added 2 commits June 16, 2026 14:18
The enrollment dialog's code field now triggers Confirm on Enter (guarded
by the same non-empty + not-pending conditions as the button) and autofocuses
on open. Bump 0.20.1 -> 0.20.2.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Authy picks an authenticator logo by matching the otpauth issuer against its
brand database; "Bolt Card Hub" false-matched the unrelated "Bolt" brand. Use
the single-token "Boltcard Hub" so it falls back to a neutral icon. (Authy
ignores any embedded image, so the issuer string is the only available lever.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@PeterRounce PeterRounce changed the title 2FA setup: submit confirm code on Enter 2FA enrollment UX: submit on Enter + avoid wrong Authy logo Jun 16, 2026
@PeterRounce PeterRounce merged commit af50d68 into main Jun 16, 2026
7 checks passed
@PeterRounce PeterRounce deleted the claude/2fa-enter-to-confirm branch June 16, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant