Skip to content

RegisterDto

reference
1 min readUpdated

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

PropertyType
emailstring
namestring
passwordstring

Was this page helpful?

Download as PDF