Repository navigation
Commit 362b093
fix(auth): accept a typed pairing code regardless of letter case
Pairing codes are issued as 12 uppercase characters, but the server
matched them byte for byte, so a code typed in lowercase (the mobile
Code field does not auto-capitalize) was rejected with auth_invalid.
Fold a credential to uppercase before the pairing-link lookup when it
has the issued code format. Seeded and rotating desktop bootstrap
credentials are still matched exactly.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent fb99076 commit 362b093
2 files changed
Lines changed: 42 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
96 | 108 | | |
97 | 109 | | |
98 | 110 | | |
| |||
176 | 188 | | |
177 | 189 | | |
178 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
179 | 208 | | |
180 | 209 | | |
181 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
256 | 260 | | |
257 | 261 | | |
258 | 262 | | |
| |||
538 | 542 | | |
539 | 543 | | |
540 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
541 | 552 | | |
542 | 553 | | |
543 | 554 | | |
544 | 555 | | |
545 | 556 | | |
546 | | - | |
| 557 | + | |
547 | 558 | | |
548 | 559 | | |
549 | 560 | | |
| |||
568 | 579 | | |
569 | 580 | | |
570 | 581 | | |
571 | | - | |
| 582 | + | |
572 | 583 | | |
573 | 584 | | |
574 | 585 | | |
| |||
0 commit comments