Skip to content

Fix 2FA input handling and repeated challenge errors - #588

Merged
majd merged 1 commit into
mainfrom
branch/fix-2fa-input
Sep 19, 2026
Merged

majd merged 1 commit into
mainfrom
branch/fix-2fa-input

Conversation

@majd

@majd majd commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Normalize 2FA codes from prompts and --auth-code by removing matched bracketed-paste wrappers and whitespace, then require six ASCII digits before authentication. Preserve passwords unchanged.

Report repeated 2FA challenges with a request for a fresh code instead of a generic network error. Add regression coverage for normalization, invalid codes, password preservation, and repeated challenges.

@majd
majd marked this pull request as ready for review September 19, 2026 14:44
@majd
majd merged commit 735b689 into main Sep 19, 2026
16 checks passed
@majd
majd deleted the branch/fix-2fa-input branch September 19, 2026 17:13
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