company flows
This commit is contained in:
parent
6541284a4c
commit
cc3f3f3de5
17 changed files with 1960 additions and 66 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue