Commit 591b178
fix: handle Apple's new trustedPhoneNumbers location in auth response
Apple moved trustedPhoneNumbers from twoSV.phoneNumberVerification to
twoSV.bridgeInitiateData.phoneNumberVerification in their auth page
HTML (observed with iOS 26.4+). This caused get_trusted_phone_numbers()
to return an empty list, hiding the SMS 2FA option and leaving users
with no way to authenticate (since iOS 26 also removed the manual
"Get Verification Code" button from Settings).
The fix checks both locations, falling back to bridgeInitiateData
when the original path returns no results.
Fixes #1322
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3a97872 commit 591b178
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 71 | + | |
73 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
| |||
0 commit comments