company flows

This commit is contained in:
debu-2 2026-10-04 20:01:29 +05:30
parent 6541284a4c
commit cc3f3f3de5
17 changed files with 1960 additions and 66 deletions

View file

@ -176,6 +176,8 @@ async def register(
date_of_birth=payload.date_of_birth,
phone_number=phone_number,
company_domain=company_domain,
org_role="owner" if company_domain else "user",
member_status="active",
password_hash=password_hash.hash(payload.password),
)
session.add(account)