bugfix
This commit is contained in:
parent
1315064bd7
commit
0c69929a72
@ -71,6 +71,11 @@ async with get_sor_context(request._run_ns, 'rbac') as sor:
|
||||
d = await register_user(sor, udata)
|
||||
if d['status'] == 'error':
|
||||
return d
|
||||
try:
|
||||
ownerid = await get_owner_orgid(sor, orgid)
|
||||
await openCustomerAccounts(sor, ownerid, orgid)
|
||||
except Exception as e:
|
||||
exception(f'{e}')
|
||||
|
||||
r = d['data']['user']
|
||||
await remember_user(r.id, username=r.username, userorgid=r.orgid)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user