Commit ceca119
committed
docs(deployment): state the address-enumeration disclosure the
The `open` posture's sign-up endpoint tells any caller whether an address is
already registered: a registered address is refused
`422 USER_ALREADY_EXISTS_USE_ANOTHER_EMAIL` while an unregistered one is
accepted `200`. That is a property of the posture, not a defect in the refusal,
and until now it was documented nowhere an operator reads.
The self-hosting page gains one section: the three-posture disclosure table
(each row measured against the real sign-up route), the statement that `open`
discloses registration by design, the honest-refusal rationale — the explicit
422 replaced a silent 200 for a row that was never written — the counterweight
that the silent lane was never a real secret either (the engine equalised the
password hash and nothing else, so the verification mail that never arrives
already told a patient caller the same thing), and better-auth's designed
alternative `onExistingUserSignUp` as the remedy an operator can request.
Documentation only. No behaviour changes, no accept-set changes, and no edit
to the generated reference page.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJopen audience posture carries, by design (#15746)1 parent abdceef commit ceca119
1 file changed
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
577 | 621 | | |
578 | 622 | | |
579 | 623 | | |
| |||
0 commit comments