Commit ea4624f
Handle Gmail plus-address aliases in account validation
Gmail ignores +suffix in the local part, so user+tag@gmail.com is
the same account as user@gmail.com. normalizeGmailAddress now strips
the +suffix before comparing, preventing false TokenMismatchError
for users who use tagged Gmail addresses as their account identifier.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d3c4f64 commit ea4624f
2 files changed
+14
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
| |||
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
372 | | - | |
373 | | - | |
374 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
| |||
384 | 385 | | |
385 | 386 | | |
386 | 387 | | |
387 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
388 | 392 | | |
389 | 393 | | |
390 | 394 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
787 | 787 | | |
788 | 788 | | |
789 | 789 | | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
790 | 793 | | |
791 | 794 | | |
792 | 795 | | |
| |||
819 | 822 | | |
820 | 823 | | |
821 | 824 | | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
822 | 828 | | |
823 | 829 | | |
824 | 830 | | |
| |||
0 commit comments