2FA enrollment UX: submit on Enter + avoid wrong Authy logo#38
Merged
Conversation
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>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small admin 2FA enrollment improvements (Settings → Two-Factor Authentication):
Bolt Card HubtoBoltcard 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 embeddedimage=, 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 ./...andnpm run buildpass;totp_test.goasserts theBoltcardissuer.🤖 Generated with Claude Code