Commit f7a95a7
fix(import-export): accept Username or SharedUsername for shared servers
validate_json_data required Username for all non-Service connections,
rejecting legitimate JSON that only carried SharedUsername. Accept
either attribute when Shared is true; keep Username required for
non-shared servers.
Extract is_shared as a local while we're here — it's now referenced
twice in the loop body.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 86a8b16 commit f7a95a7
1 file changed
Lines changed: 20 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| 604 | + | |
| 605 | + | |
604 | 606 | | |
605 | | - | |
| 607 | + | |
606 | 608 | | |
607 | 609 | | |
608 | 610 | | |
| |||
627 | 629 | | |
628 | 630 | | |
629 | 631 | | |
630 | | - | |
631 | | - | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
632 | 649 | | |
633 | 650 | | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | 651 | | |
639 | 652 | | |
640 | 653 | | |
| |||
0 commit comments