feat(identity): confirm registration email atomically

This commit is contained in:
TakuyaYagam1 committed 2026-10-07 09:12:15 +03:00
1 parent 8e7ce8d71c
commit fade4e76e4
75 files changed
+4188 -403

No files matched your search

@@ -187,13 +187,26 @@ schemas:
input only: the server stores only its hash and never returns a token.
EmailVerificationRequest:
type: object
description: Token from the email verification link.
description: >-
One-time token copied from the verification link and the password chosen
for the registration that issued it. The password is never included in
the link.
additionalProperties: false
required:
- token
- password
properties:
token:
$ref: "#/schemas/VerificationToken"
password:
type: string
minLength: 1
maxLength: 128
description: >-
Password chosen for the registration that issued this token. It is
sent in the request body and never appears in the verification link.
The server applies NFKC normalization and the login length bounds,
without reapplying the current new-registration blocklist.
EmailVerificationResult:
type: object
description: >-