bugfix
This commit is contained in:
parent
aa03d6959e
commit
5870ed6a9d
@ -3,9 +3,9 @@ db = DBPools()
|
||||
dbname = get_module_dbname('rbac')
|
||||
async with db.sqlorContext(dbname) as sor:
|
||||
orgid = await register_user(sor, params_kw)
|
||||
openCustomerAccounts = globals().get('openCustomerAccounts')
|
||||
if get_owner_orgid and openCustomerAccounts:
|
||||
ownerid = await get_owner_orgid(sor, orgid)
|
||||
openCustomerAccounts = globals().get('openCustomerAccounts')
|
||||
if openCustomerAccounts:
|
||||
await openCustomerAccounts(sor, ownerid, orgid)
|
||||
return UiMessage(title="Success", message="register success")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user