Kind: Class
Source: atloria-monorepo/apps/api/src/auth/dto/register.dto.ts
Public registration DTO.
SECURITY: This DTO deliberately does NOT accept organizationId or role.
Open registration always creates a fresh organization with the registrant
as its ADMIN. Joining an existing organization is only possible through
the invitation-token flow (see InvitationService). The global
ValidationPipe uses whitelist + forbidNonWhitelisted, so payloads
carrying extra fields like organizationId are rejected with 400.
Properties
| Property | Type |
|---|---|
email | string |
name | string |
password | string |
Was this page helpful?