Skip to content

Accept 4-digit 2FA codes - #788

Open
rworang wants to merge 1 commit into
nab138:mainfrom
rworang:fix/4-digit-2fa-code
Open

rworang wants to merge 1 commit into
nab138:mainfrom
rworang:fix/4-digit-2fa-code

Conversation

@rworang

@rworang rworang commented Oct 1, 2026 •

Copy link
Copy Markdown

This is a companion PR to the isideload PR nab138/isideload#25 (issue #787) I made, it enables the 2FA dialog to take the 4-digit SMS code for older hsa Apple ID's.

As with the other PR, this is made by Claude Code and tested multiple times by me.

I only saw the disclaimer after the PR's were made so I am re-writing the PR description. Though I will leave the original written description for reference below.


Part of #787. Legacy "hsa" Apple IDs receive 4-digit SMS codes, and the 2FA dialog rejected anything but 6 digits before submitting. This accepts 4 or 6.

The isideload side of the fix is nab138/isideload#25. Without it these accounts never reach the dialog, so this change is harmless on its own.

One thing left for you: the warning still uses apple_id.valid_6digit ("Please enter a valid 6-digit code."). I didn't touch the translations, so I left the key and text as they are.

Tested with an hsa account on iloader 2.3.4 built from source: the 4-digit code was accepted and login completed.

🤖 Generated with Claude Code

Legacy "hsa" Apple IDs receive 4-digit SMS codes, which the 2FA dialog
rejected before submitting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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