add users
This commit is contained in:
parent
c01914736b
commit
ee23b71f0f
12 changed files with 506 additions and 182 deletions
|
|
@ -39,8 +39,7 @@ async def add_person(
|
|||
manager: Account = Depends(require_org_manager),
|
||||
session: AsyncSession = Depends(get_postgres_session),
|
||||
) -> OrgMemberRead:
|
||||
if not payload.send_invitation:
|
||||
validate_password(payload.password or "")
|
||||
validate_password(payload.password)
|
||||
|
||||
try:
|
||||
member = await create_org_member(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue